5 ms·
Relatedly, there is a stage-1 proposal to add first-class signals to Javascript: https://github.com/tc39/proposal-signals https://github.com/tc39/proposal-signa
by sethaurus 1y ago
Relatedly, there is a stage-1 proposal to add first-class signals to Javascript: https://github.com/tc39/proposal-signals https://github.com/tc39/proposal-signals
It's a collaboration between multiple library maintainers, attempting to standardize and unify their shared change-tracking approach.
- h4ch1 1y agoAlso 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 https://github.com/proposal-signals/signal-polyfill
- troupo 1y agoFramework authors would love to not do the things they do if the platform provides great APIs and primitives.