4 ms·
I thought Observable was dropped completely. It seems mostly unnecessary give that a Proxy can do the same thing (and much more).
by hajile 7y ago
I thought Observable was dropped completely. It seems mostly unnecessary give that a Proxy can do the same thing (and much more).
- minitech 7y agoProxies and Observables are unrelated. Maybe you’re thinking of Object.observe?
- pier25 7y agohttps://tc39.es/proposal-observable/ https://tc39.es/proposal-observable/ It's (still) on Stage 1: https://github.com/tc39/proposals/blob/master/stage-1-proposals.md https://github.com/tc39/proposals/blob/master/stage-1-propos...
- hajile 7y agoYou are correct. I was thinking of Object.observe which was preached as the next big thing in JS only to finally be pulled from Chrome (around version 50 IIRC). That said, does a native observable actually buy that much performance-wise? If not, then perhaps an addon library is better. Once a library makes it into JS, it is there forever. That's a big risk when decent libraries already exist.
- pier25 7y ago> That said, does a native observable actually buy that much performance-wise? I don't know, but it should.