没有合适的资源?快使用搜索试试~ 我知道了~
react-pure-component-starter:一个用于React的纯组件开发入门套件
共24个文件
js:15个
editorconfig:1个
gitignore:1个
需积分: 5 0 下载量 102 浏览量
2021-04-06
10:05:42
上传
评论
收藏 19KB ZIP 举报
温馨提示
React Pure组件启动器 引入了使用纯函数作为组件的功能。 React团队在公告中称它们为功能组件。 世界其他地方称它们为纯组件。 此回购演示了纯组件。 它基于并具有以下特点: 纯组分的例子。 纯组件工厂,因此即使从CDN加载React,您也可以使用单个React实例。 带子的单元测试示例,展示了一种测试纯组件的简便方法。 入门 克隆仓库并安装: git clone git@github.com:ericelliott/react-pure-component-starter.git cd react-pure-component-starter npm install (可选)设置环境变量HOST和PORT,启动开发服务器并按照说明进行操作:撰写本文时: Cloud9(c9.io) HOST =' 0.0.0.0'PORT = 8080 Nitrous.io HO
资源推荐
资源详情
资源评论
收起资源包目录
react-pure-component-starter-master.zip (24个子文件)
react-pure-component-starter-master
devServer.js 617B
.eslintrc 5KB
webpack.config.prod.js 803B
.babelrc 48B
package.json 2KB
index.html 193B
LICENSE 1KB
.gitignore 43B
circle.yml 69B
webpack.config.dev.js 476B
README.md 6KB
.editorconfig 238B
source
index.js 299B
debug.js 60B
test
index.js 110B
components
title
index.js 681B
hello
index.js 1KB
App.js 845B
store
reducers
hello
index.js 1KB
components
title
index.js 110B
hello
index.js 444B
App.js 699B
test-fixtures
components
hello
create-actions.js 174B
store
reducers
hello
index.js 357B
共 24 条
- 1
资源评论
苏咔咔
- 粉丝: 26
- 资源: 4706
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功