Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And it is also slow as hell, so yeah, don’t abuse it for regular programming or in hot loops.


It was very slow before, but browsers improved performance a lot, multiple frameworks use proxies for their reactive primitives under the hood, Vue, Mobx and so on. SolidJS is one of the fastests frameworks out there and is built mainly on proxies, so proxies themselves can't be that slow.

Granted in very very tight loop regular object get/set will be faster, but performance is more than good enough today. If you have an use case for it, use it.


Immer relies completely on it and is wicked fast. It did improve by a lot in recent times.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: