React, Flux, GraphQL, Hack, HHVM...? All of this and more!
Since TypeScript 2.4 the TypeScript language has had support for Dynamic Imports. In a recent article Marius Schultz, an active community member, discusses how to use dynamic module imports with TypeScript starting today.
Since fetching an ECMAScript module on demand is an asynchronous operation, an import() expression always returns a promise. That promise resolves once the widget module and all its dependencies have feen fetched, instantiated, and evaluated successfully.Tweet