Some ReactJS Bad Practices include-
1. Using Index as the key in the map function
2. Polluting Render method by using Anonymous functions
3. Using Nested Components
...
useState hook is a Hook that lets us add React state to function components”. It simply means that we can now declare state variables to functional components
Hooks are an addition to the Functional Components through which we can work with states and other React features without first converting them into classes as it was the ...