After upgrading to Angular 10, if using the option "strictTemplates": true you’ll likely run into issues…
"strictTemplates": true
A common scenario I’ve run into lately involves setting up Injectable() classes that…
Injectable()
It’s been a while since I’ve written one of these (only a full year), but recently I’ve been doing some front-end work and have more tips to share! Exciting!
Application Specific Store Type
A month ago I wrote an article on how I’m currently creating actions: instead of reworking that article to fit into this series I’ll just summarize it here.
In a central location I have a redux.ts file, which contains an abstract class and reducer…
There are a couple of ways to select data from the store:
export const getTodosState = createFeatureSelector<TodosState>('todos');export const getTodosLoading =…
If your Angular project is tuned towards lazy loading with isolated modules that are loaded on demand, where these modules define their own sections of state via StoreModule.forFeature(...), you may have your root module defined like so:
StoreModule.forFeature(...)
UPDATE: most of this content is no longer applicable as of the newer versions of NgRx; please see the 2019 version of this article: