Skip to content

Commit 8f524f2

Browse files
timdeschryverzalmoxisus
authored andcommitted
Update NgRx Integration example (#623)
* Update NgRx example - Links pointing to the docs website - Update implementation to complement new NgRx versions * Point to the new NgRx example app
1 parent 44a73aa commit 8f524f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Live demos to use the extension with:
191191
- [TodoMVC](http://zalmoxisus.github.io/examples/todomvc/)
192192
- [Redux Form](http://redux-form.com/6.5.0/examples/simple/)
193193
- [React Tetris](https://chvin.github.io/react-tetris/?lan=en)
194-
- [Book Collection (Angular ngrx store)](http://ngrx.github.io/example-app/)
194+
- [Book Collection (Angular ngrx store)](https://ngrx.github.io/platform/example-app/)
195195

196196
Also see [`./examples` folder](https://github.com/zalmoxisus/redux-devtools-extension/tree/master/examples).
197197

docs/Integrations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,23 @@ import { NgReduxModule, NgRedux, DevToolsExtension } from 'ng2-redux';
101101
```
102102
For Angular 1 see [ng-redux](https://github.com/angular-redux/ng-redux).
103103

104-
#### [Angular @ngrx/store](https://github.com/ngrx/store) + [`@ngrx/store-devtools`](https://github.com/ngrx/store-devtools)
104+
#### [Angular @ngrx/store](https://ngrx.io/) + [`@ngrx/store-devtools`](https://ngrx.io/guide/store-devtools)
105105
```js
106106
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
107107
108108
@NgModule({
109109
imports: [
110-
StoreModule.provideStore(rootReducer),
111-
// Note that you must instrument after importing StoreModule
112-
StoreDevtoolsModule.instrumentOnlyWithExtension({
110+
StoreModule.forRoot(rootReducer),
111+
// Instrumentation must be imported after importing StoreModule (config is optional)
112+
StoreDevtoolsModule.instrument({
113113
maxAge: 5
114114
})
115115
]
116116
})
117117
export class AppModule { }
118118
```
119119

120-
[`Example of integration`](https://github.com/ngrx/example-app) ([live demo](http://ngrx.github.io/example-app)).
120+
[`Example of integration`](https://github.com/ngrx/platform/tree/master/projects/example-app/) ([live demo](https://ngrx.github.io/platform/example-app/)).
121121

122122
### [Ember](http://emberjs.com/)
123123
#### [`ember-redux`](https://github.com/ember-redux/ember-redux)

0 commit comments

Comments
 (0)