Skip to content

Commit

Permalink
docs: link rot in readme.md (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monstarrrr authored Dec 27, 2024
1 parent d3949b2 commit 63b14a0
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 63b14a0

Please sign in to comment.