DioxusLabs / DioxusLabs/dioxus

Implement removeAllChildren optimization for elements

Open
#573 0 comments 0 reactions 0 assignees View on GitHub
core performance web
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Specific Demand

Other frameworks use niche optimizations like `innerText=""` to do various things like removing all the children from an element.

Dioxus should do that too.

Our slowest category is jsframeworkbenchmark is removing the nodes - and it's actually slow not because of the Rust/diffing but the browser re-layout.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.