Skip to content
This repository was archived by the owner on Jul 27, 2018. It is now read-only.

Repository files navigation


This repository is for version 3.x of of @ngrx/store-devtools.


@ngrx/store-devtools

Devtools for @ngrx/store.

Join the chat at https://gitter.im/ngrx/store

Installation

npm install @ngrx/store-devtools@3.2.4 --save

Instrumentation

Instrumentation with the Chrome / Firefox Extension (Preferred)

  1. Download the Redux Devtools Extension

  2. In your root Angular module import StoreDevtoolsModule.instrumentOnlyWithExtension():

import{StoreDevtoolsModule}from'@ngrx/store-devtools';
@NgModule({imports: [StoreModule.provideStore(rootReducer),// Note that you must instrument after importing StoreModuleStoreDevtoolsModule.instrumentOnlyWithExtension({maxAge: 5})]})exportclassAppModule{}

Instrumentation with a Custom Monitor

To instrument @ngrx/store and use the devtools with a custom monitor you will need to setup the instrumentation providers using instrumentStore():

import{StoreDevtoolsModule}from'@ngrx/store-devtools';
@NgModule({imports: [StoreModule.provideStore(rootReducer),// Note that you must instrument after importing StoreModuleStoreDevtoolsModule.instrumentStore({maxAge: 5,monitor: monitorReducer})]})exportclassAppModule{}

See @ngrx/store-log-monitor for an example monitor built for Angular 2

Contributing

Please read contributing guidelines here.

About

Developer Tools for @ngrx/store

Resources

Contributing

Stars

325 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages