sonnet icon indicating copy to clipboard operation
sonnet copied to clipboard

Suggestion: Signals?

Open webJose opened this issue 11 months ago • 1 comments

I think we can all agree that declarative programming is what people prefers. However, sonnet is imperative programming.

What about building sonnet with alien-signals? It is open source and the fastest so far, and enables declarative programming.

Keep up the good work.

BTW, I do agree that for sonnet to take off, it needs JSX or SFC, and a CSS solution for scoped CSS. Let's not make React's error and not give CSS the importance it deserves. I personally dislike JSX, but I do understand it is the "easier" to implement.

webJose avatar Mar 06 '25 06:03 webJose

the reason for using imperative programming over declarative, I don't want to use any runtime compiler like react does.

I am experimenting some stuff related to signals here https://github.com/htmujahid/barebone-reactivity

Again jsx, or sfc both are being handled by runtime compiler.

If you are looking something jsx with signals I would say signal is good addition in echosystem

htmujahid avatar May 15 '25 00:05 htmujahid