Manage global state with React hooks.
6 min readNov 5, 2018
Since the announcement of experimental Hooks in React 16.7, they have taken the React community by storm.
Unfortunately, the same way class components only manage local state, the built-in useState
React hook only manages local state in functional components. Global state management is still left to higher-order components and community-contributed endeavors.