Category · 43 articles

Template

Articles in the category Template.

Vue Tip: Avoid Unwanted Re-Renders of an Element Using v-once Image

Vue Tip: Avoid Unwanted Re-Renders of an Element Using v-once

The v-once directive is a Vue.js directive used to avoid unwanted re-renders of an element.
Vue Tip: Destructure in v-for Image

Vue Tip: Destructure in v-for

It is possible to use ES6 destructuring in a v-for in Vue
Vue Tip: Prefer Slots Over Props Image

Vue Tip: Prefer Slots Over Props

Prefer slots over props as they give the parent the freedom to customize components.