Guarding your Angular modules 💂‍

added by JavaScript Kicks
9/17/2019 7:23:35 AM

605 Views

A lot of Angular modules need to be imported with a static forRoot() function, via this function it allows us to configure the module. An example, perhaps the most known, is the Angular Router Module that needs a collection of routes, another example is the NgRx Store that needs the root reducers of the application.


0 comments