3 ms·
I love svelte too, but I would argue that the way svelte extends JavaScript by making reactivity a language primitive pushes svelte beyond "the old web, just be
by vvvvtt340 3y ago
I love svelte too, but I would argue that the way svelte extends JavaScript by making reactivity a language primitive pushes svelte beyond "the old web, just better".
https://gist.github.com/Rich-Harris/0f910048478c2a6505d1c32185b61934 https://gist.github.com/Rich-Harris/0f910048478c2a6505d1c321...
https://svelte.dev/docs/svelte-components#script-3-$-marks-a-statement-as-reactive https://svelte.dev/docs/svelte-components#script-3-$-marks-a...
https://svelte.dev/docs/svelte-components#script-4-prefix-stores-with-$-to-access-their-values https://svelte.dev/docs/svelte-components#script-4-prefix-st...
- ttfkam 3y agoThat's where this part kicks in: "It takes all the lessons from the last decade and a half and distills them into familiar web development patterns." That includes reactivity and state management—two concepts that weren't adequately covered by the old web.