Knowledge check: Interacting with the API
Why should you never call hooks inside a nested function in react?
Because hooks can only be called from the top level of a function component
To ensure that the component updates correctly
To avoid unnecessary re-renders of the component
To prev...