Skip to content

Comment on State-based vs Signal-based renderingparent

Comments

have you tried svelte 3/4?

Svelte:

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

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.

I explicitly said svelte 3 and 4, while runes have they pro and I appreciate them, svelte was terser before.

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.