Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Unique classnames give us style encapsulation and `_JSXStyle` is heavily optimiz

Notice that the outer `<div>` from the example above also gets a `jsx-123` classname. We do this so that
you can target the "root" element, in the same manner that
[`:host`](https://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/#toc-style-host) works with Shadow DOM.
[`:host`](https://web.dev/articles/shadowdom-v1) works with Shadow DOM.

If you want to target _only_ the host, we suggest you use a class:

Expand Down
Loading