- Notifications
You must be signed in to change notification settings - Fork20
This repo contains code examples from the article "Best Practices and Design Patterns in React.js for High-Quality Applications". Use these organized and downloadable examples to implement best practices and design patterns in your React projects for scalability and maintainability.
obrm/react-best-practices-design-pattens
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Welcome to the code repository for the Medium article"Best Practices and Design Patterns in React.js for High-Quality Applications".
This repository contains the same code examples that were presented in the article, but in an organized and downloadable format. You can easily download or copy the code from here and use it in your React projects to implement the best practices and design patterns discussed in the article. The examples in this repository demonstrate how to build scalable, maintainable, and high-quality React.js applications, and how to apply these practices in your own projects.
The code examples are separated into three main folders:
This folder contains code examples for the following best practices:
- Small components
- Pages and presentational components
- DRY with array mapping
This folder contains code examples with the following:
- Custom hooks
- Services
This folder contains code examples for the following design patterns:
- Higher-Order Components (HOC)
- Render Props
- Compound Components
- Memo
- React.Lazy
- Context
- Reducers
- Keys
You can use the code examples in this repository as needed in your React projects. Simply navigate to the appropriate folder and use the code as needed in your own project.
Be sure to read the article for more detailed explanations and best practices for each topic.
About
This repo contains code examples from the article "Best Practices and Design Patterns in React.js for High-Quality Applications". Use these organized and downloadable examples to implement best practices and design patterns in your React projects for scalability and maintainability.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.