Skip to the content.
Home Page
Class 39 Notes
Review, Research, and Discussion
- The best practice for ‘pre-loading’ state is to use createStore with Redux which has a second parameter that allows you to pass in predefined state.
- You would export the function to be used. This comes from your reducer and is used in the components you make.
Terms
- Middleware: Software that is run in between two larger pieces of software. Examples can be authentication software or a logger.
- Thunk: A piece of middleware that is asynchronous.