Getting Started With React: A Step-by-Step Guide to Understanding Reducers

Components with many state updates spread across many event handlers can get overwhelming. For these cases, you can consolidate all the state update logic outside components in a single function, called a reducer. React reducers are functions that specify how the application’s state should change in response to actions dispatched to the reducer. Reducers are … Continue reading Getting Started With React: A Step-by-Step Guide to Understanding Reducers