News for hackers. Stuff that matters.
Re:Comparing Svelte and React by j-krieger on Thursday March 25, 2021 @04:23AM (#26577624)
You think that it‘s just reassignment in svelte? I don‘t think so.

Counter in this example is likely a proxy object that knows when it‘s changed and tells svelte to re-render.

It‘s also not immutable, which can cause very confusing interactions in global state.

There are no comments on this comment yet.