Application state is subjected to change. A reducer is a pure function that takes the current state and an action been dispatched upon it. Depending on the action type it produces a new state and returns it. States are immutable.
Subscribe to Fiyaz Hasan
Subscribe today and get access to a private newsletter and new content every week!