Redux using React Hooks
https://medium.com/@ialokkumarsingh0/redux-using-react-hooks-bfd13a61d6a9
Photo by Ben Wilkins on UnsplashThere is a lot of discussion going on regarding the state management these days. what is the correct technology we use to manage our app state, whether we use redux, graphql or local state management provided by React itself? But after the introduction of react hooks, we can implement all the feature provided by redux using react hooks. We don’t need any third parties packages to maintain state in our app. In this post, I am explaining how to create our own redux using the react hooks mainly createContext and useReducer.
Why It matters to have our own configurations?