没有合适的资源?快使用搜索试试~ 我知道了~
react-compose-booster:一组有用的React HOC,以帮助管理功能组件的组成和控制流程
共38个文件
js:25个
md:8个
json:2个
需积分: 9 0 下载量 167 浏览量
2021-05-24
15:20:59
上传
评论
收藏 62KB ZIP 举报
温馨提示
撰写助推器 一组有用的,最小的HOF,以帮助管理功能/组件组成和控制流程。 可以想象为acdlite强烈推荐的Recompose库的有用扩展-像“增强版”包一样。 可以与React或Vanilla JS一起使用。 import React from 'react' import { branch } from 'recompose' import { ifProp, nestWith } from 'compose-boost' import { Movie, Subtitles } from './myComponents const MovieWithSubtitles = nestWith(Subtitles)(Movie) const MovieMightHaveSubtitles branch(props=> props.hasSubtitles, nestWith(Subt
资源推荐
资源详情
资源评论
收起资源包目录
react-compose-booster-master.zip (38个子文件)
react-compose-booster-master
src
nestWith
nestWith.spec.js 3KB
nestWith.js 859B
README.md 3KB
getNull
getNull.js 53B
README.md 100B
takeProp
takeProp.js 188B
wrapWith
wrapWith.spec.js 3KB
README.md 1KB
wrapWith.js 487B
either
either.js 244B
either.spec.js 2KB
README.md 3KB
updateDeep
updateDeep.spec.js 1KB
updateDeep.js 583B
README.md 2KB
quickText
quickText.js 279B
README.md 860B
quickText.spec.js 1KB
plog
plog.js 152B
README.md 642B
ifProp
ifProp.js 247B
index.js 503B
lib
nestWith
nestWith.js 3KB
getNull
getNull.js 218B
takeProp
takeProp.js 406B
wrapWith
wrapWith.js 2KB
either
either.js 650B
updateDeep
updateDeep.js 1KB
quickText
quickText.js 690B
plog
plog.js 443B
ifProp
ifProp.js 651B
index.js 2KB
.npmignore 11B
travis.yml 847B
README.md 3KB
.gitignore 13B
package-lock.json 207KB
package.json 1KB
共 38 条
- 1
资源评论
马福报
- 粉丝: 20
- 资源: 4570
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功