Read Application State - 401-advanced-javascript-hanna-alemu/seattle-javascript-401d31 GitHub Wiki
Let's think of Redux as a situation as to where you go to the bank to get some money.
- The Vault( where all the money is stored) is the redux store( stores the app state)
- The Money is the State.
- You asking for the money is the Action, it always has a type( What you want)
- The cashier getting you the money is the reducer.
- This process is called dispatching an action
We can test redux using JEST even though the process is a bit different than testing React since redux has pure functions.