https://www.freecodecamp.org/news/reducing-the-reducer-boilerplate-with-createreducer-86c46a47f3e2
Reducing the Reducer Boilerplate With createReducer()
Aug 19, 2024 - By Bhuvan Malik First, a quick recap of what reducers in Redux are: Reducers are nothing but pure functions that take in the previous state and an action and...
reducingreducerboilerplate