Category Archives: IT Education

10 Easy Steps To Abandon Redux for the Remarkable React Hooks by Martin Novak

Since it’s possible (though perhaps shouldn’t be your first choice) to share state with useContext – I’ll give hooks a 4/5 stars for sharing state. Here, the Navbar what is redux for component holds a piece of state called username. Notice I use ReturnType helper to extract return type from useAppReducer and use them to […]