An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
April 12, 2022 03:10 am GMT
Original Link: https://dev.to/krowemoh/vue2-vs-vue3-32g2
Vue2 vs Vue3
For a simple table of 30k items with search, sorting and filtering, vue2 was significantly more responsive during the filtering step. Typing in the textbox was smooth whereas in vue3, it was quite janky. Very unexpected, I'll need to dig deeper at some point. The code was almost identical as I compared the two in the same project.
Even the page render was faster with vue2 which was also surprising. I think it might have to do with the way that every array object now needs to get proxied. It could be vue3 is more powerful but at a cost though I imagine it will go down over time.
It's also likely that I'm simply doing something wrong. For now vue2 works, so I'll continue using that.
Original Link: https://dev.to/krowemoh/vue2-vs-vue3-32g2
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To