Term | |
---|---|
store | holds the whole state tree of your application. The only way to change the state inside it is to dispatch an action on it. |
combined reducers | helper function turns an object whose values are different reducing functions into a single reducing function you can pass to createStore. |
“There are two very popular middleware libraries that allow for side effects and asynchronous actions: Redux Thunk and Redux Saga”.
“Thunk is a programming concept where a function is used to delay the evaluation/calculation of an operation”.
“Redux Thunk is a middleware that lets you call action creators that return a function instead of an action object. That function receives the store’s dispatch method, which is then used to dispatch regular synchronous actions inside the function’s body once the asynchronous operations have been completed”.