The Ultimate Guide to Vue Performance
Plans from $25/month

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 v-memo Works and When to Use It

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