React hooks is running on each component, not on whole app. React app is composed by bunch of components, and each of those have their own hooks.
React hooks is running on each component, not on whole app. React app is composed by bunch of components, and each of those have their own hooks.