Member-only story
10 Easy Steps To Abandon Redux for the Remarkable React Hooks
A straightforward guide to using React Hooks for global state management

If you are developing a React application, the most simple way of managing your global state and access to your backend is through React Hooks.
Even though there have been a lot of articles talking about hooks since they were released in React 16.8, it is actually hard to find a guide that explains well how to leverage them to architecture your application.
I will give you the best scalable approach to manage sharing data across your application and working with your backend APIs through React hooks that I am using in all my React apps.
If you are already familiar with Redux, then my solution should feel very similar with just a few small differences. We will develop simple middleware for global scope, and we will manage all API calls with axios.