react-advanced-patterns:高级React组件模式

时间:2021-05-02 18:03:02
【文件属性】:
文件名称:react-advanced-patterns:高级React组件模式
文件大小:29KB
文件格式:ZIP
更新时间:2021-05-02 18:03:02
React高级模式 维护此仓库以收集社区中使用的React模式和最佳实践。 此存储库为您提供了社区中使用的所有模式的整理列表。 如果您发现了一个并愿意分享您自己的React模式,只需向我们发送公关 :raising_hands: 这是由( 和( 启发而来 非常感谢他们的生活中可爱的React模式 :smiling_face_with_smiling_eyes: React高级模式 React钩 当您做出React时的最佳实践 功能setState 摆脱React中不必要的更新 破坏和传播道具 使用prop类型进行运行时类型检查 使用defaultProps 使用displayName 有条件的渲染 如果您想提出一种模式,则应提交以下几点: 这种模式有什么特别之处? 用例或灵感来自? 示例(首选CodesandBox ) 贡献者 感谢这些很棒的人(表情符号键): Manjula Subhashchandra Dube :open_book: :laptop: :light_bulb: 维维克·纳亚(V
【文件预览】:
react-advanced-patterns-master
----prop-collection()
--------README.md(1KB)
----hoc()
--------README.md(1KB)
----yarn.lock(32KB)
----prop-getters()
--------README.md(1KB)
----provider-pattern()
--------README.md(1KB)
----state-reducers()
--------README.md(1KB)
----README.md(6KB)
----flexible-compound-components()
--------README.md(1012B)
----.all-contributorsrc(3KB)
----react-best-practices()
--------README.md(7KB)
----hooks()
--------README.md(2KB)
----.gitignore(12B)
----compound-components()
--------README.md(2KB)
----render-props()
--------README.md(910B)
----package.json(509B)

网友评论