Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearNode should use replaceChildren #157169

Merged
merged 1 commit into from Aug 4, 2022
Merged

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Aug 4, 2022

The new-ish replaceChildren api lets us quickly remove all children of an html element without having to iterate through the children

The new-ish `replaceChildren` api lets us quickly remove all children of an html element without having to iterate through the children
@mjbvz mjbvz added this to the August 2022 milestone Aug 4, 2022
@mjbvz mjbvz self-assigned this Aug 4, 2022
@mjbvz mjbvz merged commit 85c03e0 into microsoft:main Aug 4, 2022
joyceerhl pushed a commit that referenced this pull request Aug 10, 2022
The new-ish `replaceChildren` api lets us quickly remove all children of an html element without having to iterate through the children
@jrieken jrieken mentioned this pull request Aug 23, 2022
jrieken added a commit that referenced this pull request Aug 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2022
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.

None yet

2 participants