In a previous post I shared an approach to enhance reducer actions in your React Context. I've worked through this a few times and found one thing this approach doesn't have that something like Redux does: the logger. Well, there's a separate library for logging called redux-logger. This nifty little piece of middleware writes out... Continue Reading →
Enhancing reducer actions in React Context
State management in ReactJS is uber important, and there is a plethora of content in the wild about how best to do this: from libraries like Redux to using useState in a component. React also has this neat little useReducer hook for using a reducer in your component. This follows the typical reducer pattern of... Continue Reading →
