有关React,你需要知道的一切
Gitbook format: https://hateonion.github.io/react-bits-CN/
原Repo地址 https://github.com/vasanthk/react-bits
Your contributions are heartily ♡ welcome. (✿◠‿◠) 新司机上路, 欢迎大家随时提issue和pr进行指正
- Design Patterns and Techniques
- ✔ ️Conditional in JSX
- ✔ Async Nature Of setState()
- ✔ Dependency Injection
- ✔ Context Wrapper
- ✔ Event Handlers
- ✔ Flux Pattern
- ✔ One Way Data Flow
- ✔ Presentational vs Container
- ✔ Third Party Integration
- ✔ Passing Function To setState()
- ✔ Decorators
- ✔ Feature Flags
- ✔ Component Switch
- ✔ Reaching Into A Component
- ✔ List Components
- ✔ Format Text via Component
- ✔ Share Tracking Logic
- Anti-Patterns
- Handling UX Variations
- Perf Tips
- Styling
- Gotchas
- Related Links