This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
How is Reactivity Depth Related to Performance
In this lesson, learn the difference between ref
and shallowRef
and get a demonstration on the performance difference shallowRef
can provide.
Vue refs are deeply reactive which makes for intuitive data updates but this sometimes causes unnecessary overhead since Vue has to watch all the deeply nested values for changes.
Links