News for hackers. Stuff that matters.
Re:The Cost of JavaScript in 2019 by hajile on Sunday June 30, 2019 @02:13PM (#20319556)
I thought Observable was dropped completely. It seems mostly unnecessary give that a Proxy can do the same thing (and much more).
Re:The Cost of JavaScript in 2019 by pier25 on Sunday June 30, 2019 @07:00PM (#20321111)
Re:The Cost of JavaScript in 2019 by hajile on Sunday June 30, 2019 @08:20PM (#20321477)
You 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.

Re:The Cost of JavaScript in 2019 by pier25 on Sunday June 30, 2019 @11:22PM (#20322223)
> That said, does a native observable actually buy that much performance-wise?

I don't know, but it should.

Re:The Cost of JavaScript in 2019 by minitech on Sunday June 30, 2019 @04:34PM (#20320339)
Proxies and Observables are unrelated. Maybe you’re thinking of Object.observe?