TIL, 2022-01-18 - NgRx Let
- Reference - This is just cause there wasn’t NgRx.
StoreModule.forRoot
should only be called once in the root of your projectNgModule
. If you want to register a feature, useStoreModule.forFeature
. UsingforRoot
registers the global providers needed for Store.@ngrx/store
and@ngrx/effects
are what you install, notngrx
.- Reference -
*ngrxLet
directive.- Binding is always present. (
*ngIf="truthy$"
) - Takes away the multiple usages of the async or
ngrxPush
pipe - Provides a unified/structured way of handling null and undefined
- Triggers change-detection differently if zone.js is present or not (
ChangeDetectorRef.detectChanges
orChangeDetectorRef.markForCheck
) - Triggers change-detection differently if
ViewEngine
or Ivy is present. - Distinct same values in a row (
distinctUntilChanged
operator),
- Binding is always present. (