Comment

Comment by Leftium

Svelte used to have compile-time reactivity, but switched to runtime reactivity via signals: https://svelte.dev/blog/runes

I'm curious if Coi will also suffer from the drawbacks of compile-time reactivity. Or as its own language that doesn't have to "fit" into JS, can Coi side-step the disadvantages via syntax?

Runes allowed simpler Svelte syntax while making it more clear, consistent, flexible, and composable.

Support for signals may help in terms of interop with native browser JS and other frameworks: https://github.com/tc39/proposal-signals

parent Leftium 9 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton