项目
在 GitHub 查看
manjula-dube/react-advanced-patterns
关于
高级 React 组件模式
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React Advanced Patterns
This repo is maintained to have collection of react patterns & best practices used in the community. This repo provides you the collated list of all the patterns used in the community. If You have discovered one & would love to share your own react pattern simply send us a PR 🙌
This is highly inspired from Michael Jackson & Kent C. Dodds. So special thanks to them for the lovely react patterns in life 😊
React Advanced Patterns
- Compound Components
- Flexible Compound Components
- Prop Collection
- Prop Getters
- Render Props
- State Reducers
- Higher Order Components
- Provider Pattern
- React Hooks
Best Practices when you React
- Functional setState
- Get Rid of Unnecessary updates in React
- Destructuring and spreading props
- Runtime type checking with prop types
- Using defaultProps
- Using displayName
- Conditional Rendering
If you want to propose a pattern you should submit it with below points:
- What is so special about this pattern?
- Use case or inspired from ?
- Example (CodesandBox preferred)
Contributors
Thanks goes to these wonderful people (emoji key):
Manjula Subhashchandra Dube 📖 💻 💡 |
Vivek Nayyar 📖 💻 💡 |
Ryan Dsouza 📖 💡 |
Meghna Srivastava 📖 💡 |
Edward Drapkin 📖 💡 |
Felipe F. Diogo 📖 💡 |
Alex Rohleder 📖 💡 |
|---|---|---|---|---|---|---|
Sachin Jani 📖 💡 |
Garet McKinley 📖 💡 |
anotherjsguy 📖 💡 |
This project follows the all-contributors specification. Contributions of any kind welcome!
探索相关项目
加载中…