没有合适的资源?快使用搜索试试~ 我知道了~
chainable-components:可重用React代码的可组合API
共76个文件
tsx:14个
css:12个
ts:10个
需积分: 5 0 下载量 21 浏览量
2021-05-02
16:03:36
上传
评论
收藏 801KB ZIP 举报
温馨提示
可链接的组件 可重用的React代码的可组合API。 将可重用的React组件链接在一起: withState ( 0 ) . chain ( outer => withState ( outer . value + 5 ) . map ( inner => ( { inner , outer } ) ) ) . render ( ( { inner , outer } ) => ( < div> < div> Outer: { outer . value } < button onClick = { ( ) => outer . update ( outer . value + 1 ) } > + < / button > < / div > < div> Inner: { inner . value } < button onClick
资源推荐
资源详情
资源评论
收起资源包目录
chainable-components-master.zip (76个子文件)
chainable-components-master
.gitignore 58B
package.json 3KB
tslint.json 723B
webpack
base.ts 1KB
hot.ts 2KB
index-template.html 281B
bundle.ts 190B
constants.ts 304B
src
index.ts 710B
lib
withState.ts 1KB
withPromise.tsx 2KB
fpts.ts 809B
withLifecycle.ts 1KB
ChainableComponent.ts 18KB
tsconfig-build.json 201B
LICENSE 1KB
tsconfig.json 436B
README.md 2KB
demo
Step.tsx 269B
index.html 224B
demo.less 778B
demos
AllDemo.tsx 2KB
ReactRouterDemo.tsx 1KB
WithStateDemo.tsx 1KB
FromHocDemo.tsx 2KB
RamdaDemo.tsx 1KB
ForkDemo.tsx 1KB
FromRenderDemo.tsx 535B
DoRenderDemo.tsx 1KB
ContextDemo.tsx 1KB
DoDemo.tsx 1KB
FromNonStandardRenderPropDemo.tsx 1KB
index.tsx 683B
circle.yml 630B
docsSrc
chainable-pipeline.png 20KB
README.md 7KB
SUMMARY.md 56B
styles.css 45B
API.md 3KB
book.json 306B
.npmignore 100B
SUMMARY.md 50B
docs
chainable-pipeline.png 20KB
search_index.json 65KB
index.html 31KB
API.html 25KB
gitbook
fonts
fontawesome
fontawesome-webfont.svg 382KB
fontawesome-webfont.eot 75KB
FontAwesome.otf 122KB
fontawesome-webfont.ttf 149KB
fontawesome-webfont.woff 88KB
fontawesome-webfont.woff2 70KB
images
favicon.ico 4KB
apple-touch-icon-precomposed-152.png 5KB
gitbook-plugin-prism
prism-dark.css 2KB
prism-twilight.css 4KB
prism-tomorrow.css 2KB
prism-solarizedlight.css 3KB
prism-okaidia.css 2KB
prism.css 2KB
prism-funky.css 2KB
prism-coy.css 4KB
theme.js 111KB
gitbook-plugin-fontsettings
website.css 8KB
fontsettings.js 6KB
gitbook-plugin-sharing
buttons.js 3KB
style.css 51KB
gitbook.js 103KB
gitbook-plugin-lunr
lunr.min.js 15KB
search-lunr.js 2KB
styles.css 45B
test
spec.ts 146B
mocha.opts 80B
registerTsNode.js 185B
.editorconfig 105B
yarn.lock 205KB
共 76 条
- 1
资源评论
Jmoh
- 粉丝: 20
- 资源: 4676
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功