As we found out, implementing Hooks with the official API also has its own trade-offs and limitations. We are now going to learn how to overcome these common problems, which stem from the limitations of React Hooks.
We will take a look at solutions that can be used to overcome these two problems:
- Solving conditional Hooks
- Solving Hooks in loops