DEV Community

Discussion on: Reusing ngrx reducers using higher-order functions

Collapse
 
joanllenas profile image
Joan Llenas Masó

Have a look at this modified stackblitz example where I'm using InjectionToken to inject the reducers: stackblitz.com/edit/angular-3yguzm...
Interesting files are: reducers.ts and app.module.ts

Hope this fixes the issue.
Cheers!

Collapse
 
alejojm profile image
Alejo Jm

Yeah !!!! cheers awesome