<link> tags in Shadow DOM
#1276
thescientist13
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Overview
Currently, Greenwood support style sharing through CSS Module Scripts
These are not baseline in browsers (yet) and Greenwood has to down-level these when opted into through our polyfills configuration option
Instead, could a
<link>tag be used (and ultimately bundled) as an alternative? 🤔Thoughts
Would have to test / validate a couple things:
<link>tags and their paths (which will be hashed / bundled for production)<style>vs{ type: 'css' }vs<link>)Some ongoing threads on this topic in the standards / CG / WG space(s)
All reactions