Skip to content

Add ShadowRoot support.#1169

Draft
dmjio wants to merge 1 commit into
masterfrom
shadowRoot
Draft

Add ShadowRoot support.#1169
dmjio wants to merge 1 commit into
masterfrom
shadowRoot

Conversation

@dmjio
Copy link
Copy Markdown
Owner

@dmjio dmjio commented Sep 17, 2025

For truly encapsulated styles (breaks the cascade in CSS), this PR introduces shadowRoot :: Bool.

This will allow users to nest Component without style inheritance

  • Add shadowRoot
  • Define and call attachShadow on Component mount element.
  • Wire-up to styles
  • Wire-up to scripts

For truly encapsulated styles (breaks the cascade in CSS),
this PR introduces `shadowRoot :: Bool`.

This will allow users to nest Component without style inheritance

- [x] Add `shadowRoot`
- [x] Define and call `attachShadow` on `Component` mount element.
- [ ] Wire-up to styles
- [ ] Wire-up to scripts
@dmjio dmjio force-pushed the master branch 3 times, most recently from 3c337c8 to 863bafa Compare May 18, 2026 22:54
@dmjio dmjio force-pushed the master branch 3 times, most recently from 3f8ac8b to eb9fa23 Compare May 25, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant