filmov
tv
Vue templates: avoid functions, use computed properties instead
Показать описание
Instead of calling functions directly in your vue templates, use computed properties. Why? you might ask.
The answer is simple: functions called within vue templates will execute every time the component re-renders. If those functions are computationally expensive, they can decrease the performance of your application. And you don't want that, do you? 😁
The answer is simple: functions called within vue templates will execute every time the component re-renders. If those functions are computationally expensive, they can decrease the performance of your application. And you don't want that, do you? 😁
Vue templates: avoid functions, use computed properties instead
Are You Following This Vue Best Practice?
Vue Template Refs Simplified
When to Use Ref vs. Reactive // Vue Tips
Optimize Vue 3 with Debounce for Perf #VueJS
Inside Vue Templates with Evan You
The Power of Vue 3 Function Refs - Part 1
Avoid losing Reactivity in your Vue Application
Using Computed Properties in Vue.js Data: A Complete Guide for Beginners
The Power of Vue 3 Function Refs - Custom Data Structures
Vue.js 101 : Simplifying Vue.js Component Design with inline-template and x-template
Advantages of Function Props over Event Listeners in Vue
Template ref to get component instance and defineExpose method in #vue composition api
Common Mistakes in Vue.js and How to Avoid Them | VueConf US 2024
Writeable computed properties are great for updating vue props
The ultimate guide to web performance
The Power of Vue 3 Function Refs - Part 2
Vue JS Best Practices - Fatih Acet
Common Mistakes in Vue js and How to Avoid Them - Daniel Kelly
Vue Tip: Avoid Mutating a Prop Directly
COMPONENT COMMUNICATION (PROPS / EVENTS) | VueJS | Learning the Basics
Typescript + Vue @ Politico by Jack Koppa | VueConf US 2020
[Testing Vue 3 apps] 1.2 - Factory functions for concise tests
Global Vue Meetup featuring Evan You & Thorsten Lünborg
Комментарии