Proxies for reactivity are ruining performance
See original GitHub issueReduced Test Case: https://codepen.io/cferdinandi/pen/VwMpoYQ
If you click the Swap Wizards
button a few times, it works fine. If you focus on the button and hold the enter/return key down to trigger a swap multiple times, the nested proxy structure overloads the browser and freezes the app.
Switching to a setter function style approach as the only way to update reactively would dramatically improve performance.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Debunking myths: proxies impact performance - Spring
Because the proxy sits in between the caller of an object and the real object itself, it can decide to prevent the real...
Read more >Common problems with reactivity · Issue #849 · vuejs/docs
The proxy-based reactivity can be a massive performance boost with some third-party libraries, so it isn't all bad news from that ...
Read more >The Magic Behind Reactivity - Effects - Ryan Chandler
In this post, I'll be creating an effect function that will allow us to react to changes on the Proxy and update the...
Read more >When Vue Meets Proxy - Level Up Coding
JS to Reveal How It Uses Proxy to Achieve Reactivity ... Performance: for a large and/or nested data set, performance could be negatively...
Read more >The fundamental principles behind MobX | by Michel Weststrate
Finally, nx-observe proves that proxies are very viable foundation for a transparent reactive programming library. Both conceptually and performance wise.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Patched in 10.0.1
@pranav-js please open a new issue for this