You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ JSX is not part of this library natively, but a wrapper can be made quite easily
232
232
This proposal might solve this issue:
233
233
[DOM#739 Proposal: a DocumentFragment whose nodes do not get removed once inserted](https://github.com/whatwg/dom/issues/736).
234
234
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.
236
236
`DocumentFragment` should be a `ParentNode` should have it's own children, and can be `ChildNode` of other `ParentNode`. Normal hierarchy,
237
237
no trasparency other than CSS.
238
238
@@ -246,9 +246,9 @@ JSX is not part of this library natively, but a wrapper can be made quite easily
246
246
247
247
An issue is open here [DOM#533 Make it possible to observe connected-ness of a node](https://github.com/whatwg/dom/issues/533).
248
248
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.
252
252
253
253
- If this feature above doesn't come sooner we also keep an eye of this other proposal which has more attraction:
254
254
[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
270
270
attribute is not visible in the DOM since this element created by JS, not HTML_.
271
271
272
272
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
274
274
lot.
275
275
276
276
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