There is a right way and a wrong way to use their tools in React. In this article, we will see different ways in which you should not use React. Use Redux to store the global state and use Context API for specific parts of your application within a well-defined bounded context.
Table of contents
1. Having large component trees inside the same component2. Use Context for Global Scope3. Rendering .map() key with a variable index4. Nested Components2 Comments
Sort: