DEV Community

Discussion on: Understanding Angular Modules

Collapse
 
jwp profile image
John Peters

I find NgModules very confusing and even conflicting with the newer Javascript module system. I read on Github they are considering removing this in future releases. Have you heard any more about this?

Collapse
 
anubhab5 profile image
Anubhab Mukherjee

Hello John,
A very good point you have pointed out. Thanks a lot for bringing this up.
The NgModule concept will not be removed. Discussions are going on to make it optional.
That is also not finalized.
The use of Angular modules are mostly to organize the application.
There are various use case of angular modules.
Where as ES6 modules are used to import and export items, resolve the same name issues.
Hope I could clarify the doubt.