Projects
View on GitHub
josefbender/react-patterns
About
A collection of must-know ReactJS coding patterns.
Other ProjectsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAwesome React Patterns
A curated collection of must-know React patterns for building scalable, maintainable, and efficient React applications.
Introduction
This repository showcases essential React patterns with practical examples and explanations. Perfect for developers looking to level up their React skills.
Patterns
- Compound Components
- Modals
- React Query
- Simple queries
- Custom queries
- Selectors
- Parameterized queries
- Pagination
- Disabling queries
- Prefetching
- Infinite queries
- Query key factories
- Simple mutations
- Query invalidation
- Automatic query invalidation
- Global error handling
- Optimistic updates in UI
- Optimistic updates in cache
- TanStack DB
Btw you can find detailed explanations and examples in this YouTube playlist.
Contributing
Contributions are welcome!
Feel free to open a Pull Request or a GitHub issue!
License
MIT
Explore related projects
Loading…