In this lesson, learn how to use v-memo
to conditionally prevent Vue from re-rendering elements on component update. v-memo
is a lot like v-once
but you can pass in dependencies in an array. When one of the dependencies changes, the element will be re-rendered otherwise it will not.
Links