The Store and Reducer Relationship

The role of the reducer is to help us access the store.

Back to the bank analogy.

When you go to the bank to make a withdrawal, you meet with the Cashier. After you make your WITHDRAW_MONEY intent/action known to the Cashier, they do NOT just hand you the requested money.

No.

The Cashier first confirms that you have enough money in your account to perform the withdrawal transaction you seek.

Get hands-on with 1200+ tech skills courses.