Put in order · JavaScript and React course · Module 15: Patterns and Architecture
React Pattern Selection Process
Arrange the steps of choosing a React pattern in the order you take them:
Items to put in order
- Check whether plain props and children are enough
- Introduce it in one place and check that the code got simpler
- Pick the simplest pattern that solves this problem
- Name the problem: what repeats or what is hard to change
- Only then extend it to the rest of the app
You can check the correct answer by solving this task in the CodeWorlds game.