logoalt Hacker News

root_axistoday at 6:06 AM1 replyview on HN

I don't mean to sound reductive, but there's something exhausting about the conceptual approach that necessitates importing array primitives from a package. The react meets svelte concept seems cool, but maybe this particular syntax is just not for me.


Replies

h4ch1today at 6:58 AM

The array primitive seems to be a reactive version of an array; which seems to be weird since a basic primitive like an array should be able to be made reactive by default.

Tangentially Svelte also provides some reactive primitives, namely SvelteMap and SvelteSet [0]. But I've never had to use any of them.

[0] https://svelte.dev/docs/svelte/svelte-reactivity