I'm trying to create an Angular 4 plunker which includes ngrx\store latest version: https://embed.plnkr.co/cr4rCJ0hRVMwuLzKe4mg/
In order to use ngrx\store i've added this line in config.js
file:
'@ngrx/store': 'https://npmcdn.com/@ngrx/store@4.0.0',
For some reason i'm getting this error:
(SystemJS) TypeError: store_1.StoreModule.provideStore is not a function
Can someone assist?
In the latest version of Ngrx the provideStore
changed to forRoot
.
Also you could have a look at the migration guide here https://github.com/ngrx/platform/blob/master/MIGRATION.md