#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| // App | |
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'app', | |
| template: '<span>{{ sayHello() }}</span>', | |
| }) | |
| export class App { | |
| public name: string = 'John'; |
| interface Functor { | |
| fmap: (any) => any; | |
| } | |
| interface Monad extends Functor { | |
| bind: (any) => Monad; | |
| } | |
| interface MaybeMatcher { | |
| just: (any) => Maybe; |
| interface Functor { | |
| fmap: (any) => any; | |
| } | |
| interface Monad extends Functor { | |
| bind: (any) => Monad; | |
| } | |
| interface Maybe extends Monad { | |
| } |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!