To ShadowDOM or not to ShadowDOM, that is the question. #1
Closed
jorgefelico
started this conversation in
General
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.
-
@Overthane I'm wondering if we should use ShadowDOM for the DateDreamer components. Reason I bring this up is because I just tested what we have so on another project of mine and some of the global styles from my project were messing up the styles of the calendar component.
The only thing that's making me weary about using ShadowDOM is having to inject the styles manually through a style tag. Also, since we're using font awesome, I'm not sure how we would inject it into the shadow dom. Would we just inject a link tag? I'm not sure.
Beta Was this translation helpful? Give feedback.
All reactions