@Lukew Import Attributes at large may not be a UI related feature, but in that they unlock with { type: 'css' }
a feature that both #Mozilla and #WebKit have outlined that they are open to shipping, I'd say that was a BIG ONE that could serve so many use cases.
import style from './styles.css' with { type: 'css' };
With this a UI component that benefits from JS (read the majority of non-trivial patterns) can also deliver any CSS that it needs right inline with its usage.
=> More informations about this toot | View the thread | More toots from westbrook@mastodon.social
=> View Lukew@toot.wales profile
=> View mozilla tag | View webkit tag This content has been proxied by September (3851b).Proxy Information
text/gemini