What is the main difference between using import() for dynamic imports and using a custom AMD or SystemJS loader?
The main difference is that import() is a native JavaScript feature while AMD/SystemJS are library implementations: 1) import() is part of the ECMAScript specification, providing standardized behavior, 2) AMD and SystemJS were created before native dynamic imports existed, 3) Native import() integrates with bundlers more seamlessly than custom loaders, 4) import() better integrates with the JavaScript module system and its guarantees, 5) Native features typically have better long-term support and performance, 6) Using native import() reduces external dependencies and bundle size, 7) AMD and SystemJS offer some additional features beyond what native import() provides, 8) Native import() represents the direction of the JavaScript ecosystem.