Custom Hooks must be called from React function components or other Hooks, and they must follow the same top-level call rules as built-in Hooks.
Question 17 of 20 in Custom Hooks Quiz