17. Store dev tools

In this section we will introduce the awesome store dev tools for Chrome and other mediums.

1. Install redux dev tools chrome extension

https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en

Image: Redux devtools extension

2. npm install the ngrx StoreDevtools

  • npm install the store dev tools that expose our reducers to the chrome extension.

3. Register the StoreDevtoolsModule

  • Register the StoreDevtoolsModule in our AppModule.

  • Name our app in the config to know which app we are dealing with in the browser extension.

  • Also disable all the expensive compute and memory heavy functions of the devtools when we are in production to only allow logging.

4. Run the app and explore the dev tools in the browser

App running the store devtools
Web Link: Link to the demo app running in StackBlitz

Last updated