Svelte: Only detach nodes if necessary

Created on 25 Nov 2016  路  4Comments  路  Source: sveltejs/svelte

Right now, Svelte detaches every child of every node during teardown. It only needs to detach the top-level ones.

Most helpful comment

yes! It's been fixed for over a year

All 4 comments

Is it fixed now?

yes! It's been fixed for over a year

The performance of Svelte for swapping rows in this benchmark was very slow. How would it behave now?

The same. There's an issue for it: #588. It hasn't been a big priority because it's a fairly contrived example you don't often encounter in the wild

Was this page helpful?
0 / 5 - 0 ratings