What are some tips that you have used to improve performance in your VueJS applications?
For further actions, you may consider blocking this person and/or reporting abuse
What are some tips that you have used to improve performance in your VueJS applications?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (8)
Lazy loading routes is helpful, assuming you are using webpack.
router.vuejs.org/guide/advanced/la...
markus.oberlehner.net/blog/how-to-...
One tip which I read in Vue dose link is to use object.freeze if you are using heavy list
Interesting. Whatβs the reason behind this?
This was the one which I mentioned. This is to avoid reactivity for huge lists
vuedose.tips/tips/improve-performa...
Another tip from @1kevgriff was to disable logger from Vuex in production applications
On tip was to use map instead of arrays.
It requires more work from the developer as maps are not reactive by default(at least in Vue 2.x), but I strongly believe itβs worth it.
Posting other tips from Gusto- twitter.com/gustojs/status/1176096...