State Management with React Hooks and Context API in 10 lines of code!

Ultimate and super simple Redux alternative for your App.

Luke Hall
Luke Hall
Jan 15, 2019 · 7 min read

There are many ways how to handle global application state like Redux, MobX, etc. Do you remember all the stuff like store, actions and reducers in Redux? And then all those connect, mapStateToProps and other functions to be able to access the state?