Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Ultimate Guide to Vue Performance

Computed Props: The Wrong Way and the Right Way thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Computed Props: The Wrong Way and the Right Way

In this video, learn about computed prop stability and when Vue triggers side-effects based on the return of a computed prop. Vue does some magic for you when return primitive values from the computed prop to prevent effects if the value stays the same but if you return an array or an object, you’ll need to do a little logic for yourself to optimize for every last ounce of performance.

Links