Skip to content

Commit 49e2421

Browse files
committed
Updated README.md
1 parent 59426a3 commit 49e2421

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ JSX is not part of this library natively, but a wrapper can be made quite easily
232232
This proposal might solve this issue:
233233
[DOM#739 Proposal: a DocumentFragment whose nodes do not get removed once inserted](https://github.com/whatwg/dom/issues/736).
234234

235-
In the puroposal they purpose on making the fragment undetactable with `childNodes` or `children` which I'm against and don't like at all.
235+
In the proposal they propose making the fragment undetactable with `childNodes` or `children` which I am against and don't like at all.
236236
`DocumentFragment` should be a `ParentNode` should have it's own children, and can be `ChildNode` of other `ParentNode`. Normal hierarchy,
237237
no trasparency other than CSS.
238238

@@ -246,9 +246,9 @@ JSX is not part of this library natively, but a wrapper can be made quite easily
246246

247247
An issue is open here [DOM#533 Make it possible to observe connected-ness of a node](https://github.com/whatwg/dom/issues/533).
248248

249-
Since DOM already has a sync way to follow lifecycle of custom `HTMLElement`(s). Since this is the only way, at this time we heavily relay
250-
on that. Currently we use auto created Custom Elements via `tags` proxy and `WithLifecycle` `HTMLElement` mixin. And allow `Signal`
251-
related things only on those elements.
249+
But also, DOM already has a sync way to follow lifecycle of custom `HTMLElement`(s). And since this is the only way, at this time we
250+
heavily relay on that. Currently we use auto created Custom Elements via `tags` proxy and `WithLifecycle` `HTMLElement` mixin. And allow
251+
`Signal` related things only on those elements.
252252

253253
- If this feature above doesn't come sooner we also keep an eye of this other proposal which has more attraction:
254254
[webcomponents#1029 Proposal: Custom attributes for all elements, enhancements for more complex use cases](https://github.com/WICG/webcomponents/issues/1029)
@@ -270,7 +270,7 @@ JSX is not part of this library natively, but a wrapper can be made quite easily
270270
attribute is not visible in the DOM since this element created by JS, not HTML_.
271271
272272
Anyway since this method requires you to decide if something is an element with lifecycle ahead of time, and also requires use to create
273-
`pure-*` variant of native HTMLElement types in order to make them have lifecycle, it's kinda a lot. It makes sense. But it's kind of a
273+
`pure-*` variant of native `HTMLElement` types in order to make them have lifecycle, it's kinda a lot. It makes sense. But it's kind of a
274274
lot.
275275
276276
So this new custom attributes proposal can let us have lifecycle on any `Element` easily by simily adding an attribute to it. And this can

0 commit comments

Comments
 (0)