Skip to content

Comment on State-based vs Signal-based rendering

Comments

Relatedly, there is a stage-1 proposal to add first-class signals to Javascript: https://github.com/tc39/proposal-signals

It's a collaboration between multiple library maintainers, attempting to standardize and unify their shared change-tracking approach.

Also some examples in the polyfill README [0]. Certainly looks interesting.

I wonder some years down the future, if there will be no need for JS frameworks since a lot of what they offer will be integrated into JS itself.

https://github.com/proposal-signals/signal-polyfill

Framework authors would love to not do the things they do if the platform provides great APIs and primitives.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.