Compiler: intro

Reactivity System
Virtual Dom
Component

DX

Step

const app = createApp({ template: `<p class="hello">Hello World</p>` })



const app = createApp({
render() {
return h('p', { class: 'hello' }, ['Hello World'])
},
})

()