February 24th, 2020
Vue provides a way of extracting and reusing the state and logic of a component, but the template is deemed single-use only. In this article, I'll show you a hack for extendin...
vue.js components composition api design patterns templates
February 3rd, 2020
There are plenty of ways you can define a component template in Vue. In this article, we'll go through examples of each and address the pros and cons so you know which one is ...
vue.js templates jsx components
September 11th, 2018
Rendering a list of child nodes in a component is not a design pattern that works with Vue due to the single root node restriction. This article discusses why this is an issue...
vue.js templates components react
September 17th, 2017
It's a common practice for a Vue app to use the DOM as its template. This practice comes with a few catches, however, that make it an undesirable choice. In this article, I'll...
vue.js templates components
February 27th, 2017
JSX is a popular extension to Javascript that allows XML tokens in your scripts. In this article we look at how and why to use JSX in a Vue application....
vue.js jsx templates