You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
With import attributes being a feature of module imports that hoist, has there been thought put into how to support them with Progressive Enhancement or Graceful Degredation? Maybe this is enough:
But it feels so awkward to rely on try/catch with dynamic imports, which may later have more dynamically imported content included, powering the feature gate.
This is so much like the move to ES Modules at large where we got access to nomodule to unlock access to a build with modules and a separate one without. A noattributes sort of attribute could be a great place to start the conversation.
I remember a lot of feature checking conversation in the wake of nomodule, so maybe there are better options in the intervening years?
With import attributes being a feature of module imports that hoist, has there been thought put into how to support them with Progressive Enhancement or Graceful Degredation? Maybe this is enough:
But it feels so awkward to rely on
try/catchwith dynamic imports, which may later have more dynamically imported content included, powering the feature gate.This is so much like the move to ES Modules at large where we got access to
nomoduleto unlock access to a build with modules and a separate one without. Anoattributessort of attribute could be a great place to start the conversation.I remember a lot of feature checking conversation in the wake of
nomodule, so maybe there are better options in the intervening years?