Shared State with React Hooks and Context API
With React 16.8 came the release of Hooks, which, along with other great functions, provides a way for function components to have a state!
In my article Managing State with React Hooks I go over how to use the hooks
useReducerto manage state within function components. Give this a read if you need a refresher on how hooks can help manage state.