O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and integrating @ngrx/store

We want to first install @ngrx/store:

npm i @ngrx/store --save

We can now provide the single store to our app via the StoreModule. We define these initial slices of state in our CoreModule, which will be available when the app boots, while each lazy loaded feature module adds its own state and reducers later when needed.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required