Minko Gechev 5/11/2019

Dynamic imports solve all the problems, right?

Read Original

This article examines dynamic imports in Angular routing, specifically loadChildren, and explains why they can be problematic for tooling. It contrasts dynamic and static imports, emphasizing how static analysis enables better build-time optimizations and why the ECMAScript standard restricts imports to string literals for predictable module resolution.

Dynamic imports solve all the problems, right?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser