Planning your React application
There are two simple guidelines we need to follow when planning your React application:
- Each React component should represent a single user interface element in your web application. It should encapsulate the smallest element possible that can potentially be reused.
- Multiple React components should be composed into a single React component. Ultimately, your entire user interface should be encapsulated in one React component.