Skip to content

parseHtmlAsChildren handling for unexpected dom (custom element callb…#2500

Merged
krichprollsch merged 1 commit into
mainfrom
parseHtmlAsChildren_assertion
May 20, 2026
Merged

parseHtmlAsChildren handling for unexpected dom (custom element callb…#2500
krichprollsch merged 1 commit into
mainfrom
parseHtmlAsChildren_assertion

Conversation

@karlseguin
Copy link
Copy Markdown
Collaborator

…ack)

Removes an assertion that can break with custom element callbacks. #2429 does not solve this issue since it isn't a result of when reactions are executed, but just that they happen.

(I should note, that I'm not 100% sure the above statement is correct. It's possible that our CE reactions are (in some cases at least) too micro. Maybe some operations, like setInnerHtml should operate within a more atomic frameworks, vs an CE-reaction per internal step. But that's a pretty big change)

…ack)

Removes an assertion that can break with custom element callbacks.
#2429 does not solve this issue
since it isn't a result of when reactions are executed, but just that they
happen.

(I should note, that I'm not 100% sure the above statement is correct. It's
possible that our CE reactions are (in some cases at least) too micro. Maybe
some operations, like setInnerHtml should operate within a more atomic
frameworks, vs an CE-reaction per internal step. But that's a pretty big change)
@krichprollsch krichprollsch merged commit bb2d62d into main May 20, 2026
23 checks passed
@krichprollsch krichprollsch deleted the parseHtmlAsChildren_assertion branch May 20, 2026 12:01
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants