Slide 39
Slide 39 text
39
Import Sync
const namespace = import.sync("./foo.mjs");
● Bridge the gap with CommonJS using synchronous dynamic
import
○ Personally, the difference in whether cache can be
purged seems like a big gap...
● In a browser environment, the main thread cannot be
blocked, so it might throw an exception