The idea for this styleguide is to present commonly used techniques for working with ngrx suite and serve as a kind of a cookbook/recipes with a problem/solution theme.
The purpose of this style guide is to provide guidance on how to integrate ngrx-X-tool by showing the conventions used by users of the community.
Please open an issue to add your project/suggestion
- Store Single Directory
- Creating A CoreStoreModule
- combining reducers
- using Side Effects
- consuming reducers in components
- using selectors
- The store should be placed in the application's core directory.
- each reducer should have a dedicated directory :
- src
- app
- core
- store
- now-playing
- player
- player-search
- user-profile
A single core store module should include:
- Bootstraping of the store with
StoreModule.provideStore()
- The application's actions as providers
location: app/core/store/index.ts
Copyright (c) Oren Farhi