6 ms·
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 svel
by j-krieger 5y ago
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.