in VueJS by (5.1k points)

1 Answer

0 votes
by (5.1k points)

Vue allows us to build templates in a multitude of ways, the most common of which is to just use HTML with special directives and mustache tags for reactive features. You can, however, also build templates using JavaScript using a special class of functions, known as render functions. These functions are close to the compiler which means they’re more efficient and faster than other template types. Since you’re using JavaScript for writing render functions, you can use the language freely to add custom functionality directly wherever needed. 

This is extremely useful for advanced scenarios where standard HTML templates may not be the best option. 

Related questions

+1 vote
+1 vote
asked Feb 3 in VueJS by john ganales (13.9k points)
0 votes
asked Jan 9, 2020 in VueJS by GeorgeBell (5.1k points)
...