Vue NYC - VueJS Render Functions / Functional Components - Dan Aprahamian

30 Views
45ghesgd1
0
Published on 14 Oct 2018 / In JavaScript

A brief overview of Vue.js’s render functions, functional components, and when you should ditch templates.

Dan is a NYC-based software engineer currently working at MongoDB. In his spare time, he likes to hang out with his wife, eat amazing food, and play D&D.


CONTENTS

0:05 - Intro
0:11 - Outline
0:33 - About Dan
1:21 - Imperative Rendering
3:03 - Declarative Rendering
4:09 - Due has best of both wolds
4:47 - When should you write a render function?
5:05 - Example
3:23 - Demo
14:03 - Resources
14:22 - Question

RESOURCES

Slides and code
https://github.com/daprahamian..../vue-render-function

Vue docs on Render Functions
https://vuejs.org/v2/guide/render-function.html

Instructions on how to add JSX support
https://www.npmjs.cpom/package..../babel-plugin-transf

ESLint plugin for suppress JSX errors
haps://www.npmjs.com/package/eslint-plugin-vue

Show more
0 Comments sort Sort by