Monday, June 5, 2017

It may be wise to have a module for a pipe in the Angular 2 paradigm.

This defers the loading of the JS for the pipe until it is really needed and If there are is not otherwise just one God module wrapping everything (and if individual components thus have modules) you may find that when you loop in a pipe by itself at one of the Russian dolls (without the module) that a module higher up the hierarchy will start throwing errors.

No comments:

Post a Comment