3 ms·
IIRC its what frameworks like Svelte do when they hit the compiler and optimize, which makes the best of both worlds.
by ChocolateGod 2y ago
IIRC its what frameworks like Svelte do when they hit the compiler and optimize, which makes the best of both worlds.
- wruza 2y agoThey still nail "state" to element trees, which creates unbenchmarkable but real update costs. Svelte does better than react, but only within the same paradigm.
- MrJohz 2y agoCan you describe what you mean by that a bit more? As I understand it, with the new signals-based system in Svelte, updating data directly updates the DOM.
- division_by_0 2y agoIt's also worth noting that the Svelte signals implementation is quite performant. [0] [0] https://github.com/sveltejs/svelte/discussions/13277 https://github.com/sveltejs/svelte/discussions/13277