Skip to content

Commit b4ebb52

Browse files
authored
WC essay typo fixes (#3021)
1 parent 8d07de9 commit b4ebb52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/content/essays/webcomponents-work-great.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The DOM-based lifecycles of custom elements work great in htmx, because everythi
152152
The default htmx swap style is to just set [`.innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML), and that works great for the vast majority of users.
153153

154154
That's not to say that htmx doesn't have to accommodate weird Web Component edge cases.
155-
Our community member and resident WC expert [Katrina Scialdone](https://unmodernweb.com/) merged [Shadow DOM support for htmx 2.0](https://github.com/bigskysoftware/htmx/pull/2075), which lets you htmx process the implementation details of a Web Component,
155+
Our community member and resident WC expert [Katrina Scialdone](https://unmodernweb.com/) merged [Shadow DOM support for htmx 2.0](https://github.com/bigskysoftware/htmx/pull/2075), which lets htmx process the implementation details of a Web Component,
156156
and supporting that is [occasionally](https://github.com/bigskysoftware/htmx/pull/2846) [frustrating](https://github.com/bigskysoftware/htmx/pull/2866).
157157
But being able to work with both the [Shadow DOM](@/examples/web-components.md) and the ["Light DOM"](https://meyerweb.com/eric/thoughts/2023/11/01/blinded-by-the-light-dom/) is a nice feature for htmx, and it carries a relatively minimal support burden because htmx just isn't doing all that much.
158158

@@ -168,7 +168,7 @@ disrespecting HTML was best practice.
168168

169169
The relatively recent success of htmx—itself now a participant in the zeitgeist—offers an alternative path: take HTML seriously again.
170170
If your website is one whose functionality can be primarily described with [large-grain hypermedia transfers](@/essays/when-to-use-hypermedia.md) (we believe most of them can), then the value of being able to express more complex patterns through hypermedia increases dramatically.
171-
As more developers use htmx (and mulit-page architectures generally) to structure their websites,
171+
As more developers use htmx (and multi-page architectures generally) to structure their websites,
172172
perhaps the demand for Web Components will increase along with it.
173173

174174
Do Web Components "just work" everywhere? Maybe, maybe not. But they do work here.

0 commit comments

Comments
 (0)