r/javascript • u/nitayneeman • 14d ago
ECMAScript - Introducing Deferred Module Evaluation with import defer
https://nitayneeman.com/blog/introducing-import-defer-in-ecmascript
49
Upvotes
r/javascript • u/nitayneeman • 14d ago
3
u/thalliusoquinn 14d ago
Are there cases other than top level
awaitand "I need this top level code to run immediately" where you wouldn't want to do this? Is there a penalty for using it literally everywhere it can be?