Dumb Component
Stateless Component
export default { functional: true, render(h, {props}) { return props.routes.map(route => <li key={route.name}> <router-link to={route}> {route.title} </route-link> </li> ) } }
Without Data, Lifecycle
존의 props만 가지고 있는 컴포넌트에 functional 선언을 통해 앱 성능을 향상시킬 수 있다
Vue 2에서는 그런 경우 말고는 쓸모없는듯
<template functional> </template>
Vue.component('my-component', { functional: true, render: function (createElement, context) { } })



