News for hackers. Stuff that matters.
Re:State-based vs Signal-based rendering by SebastianKra on Monday October 20, 2025 @05:02PM (#45649346)
Svelte:

  let doubled = $derived(count * 2);
React:

  const doubled = count * 2
Re:State-based vs Signal-based rendering by codedokode on Monday October 20, 2025 @05:22PM (#45649546)
React is the most inefficient in terms of performance (after imgui); it recomputes everything on every event like mousemove. It was probably made for simple forms with tens of variables.
Re:State-based vs Signal-based rendering by alserio on Monday October 20, 2025 @05:56PM (#45649927)
I explicitly said svelte 3 and 4, while runes have they pro and I appreciate them, svelte was terser before.
Re:State-based vs Signal-based rendering by SebastianKra on Tuesday October 21, 2025 @09:28AM (#45655532)
Oh sry, I thought Svelte introduced runes in v4, not 5.

I find it pointless to argue about old versions of Svelte and Vue, when their drawbacks have already been addressed by their own creators [^1].

[^1]: https://svelte.dev/blog/svelte-5-is-alive