FrontendDeveloper.in

Angular question detail

What happens if I import the same module twice?

If multiple modules imports the same module then angular evaluates it only once (When it encounters the module first time). It follows this condition even the module appears at any level in a hierarchy of imported NgModules.

Back to all Angular questions
Get LinkedIn Premium at Rs 399