React is such a popular tool for developing in the web and i'm sure you react fans out there are feeling blessed to be able to get your hands dirty with such a great library :)
Unfortunately nothing is perfect in life, and react is no different.
React comes with its own set of gotchas--some of it potentially becoming a severe problem to your applications if you don't take care of them now.
Here are ___ Things NOT To Do When Building React Applications:
[…]
Some of us may have already known that if we'd been following the community in the react ecosystem during the times when class components were trending.
[…]
That way, if items is an empty array, react will not render anything on the screen if the evaluated output is a boolean.
[…]
A recent situation involved react hooks, specifically a useReducer implementation. Here's a basic example of this becoming an issue:
[…]
Now the problem there isn't the parent nor the child. They should keep their implementation the same. It's the components in the middle that might become an issue in your react apps.
[…]