DEV Community

Discussion on: Building Reactive Angular Templates with NgRx Component

Collapse
 
benlune profile image
Benoît Plâtre

Hi Marko,
I found a solution, inspired by the angular-movies zoneless project created by rx-angular team (thanks a lot to them!).
github.com/tastejs/angular-movies

My project needs routing, and I had to listen to NavigationEnd event and then trigger an applicationRef.tick() in order to render my data zoneless, like this :
github.com/tastejs/angular-movies/...

Collapse
 
markostanimirovic profile image
Marko Stanimirović

Great! Here is another example: ngrx.io/api/component/RenderSchedu...

You can use 'RenderScheduler' to schedule a new change detection cycle on route changes. 'RenderScheduler' is also used by 'LetDirective' and 'PushPipe' to trigger CD.