Subscribe on changes!

Detach renderer from runtime-core

avatar
Feb 25th 2022

What problem does this feature solve?

Why not separate 'renderer' from 'runtime-core' into a separate package? The 'runtime-dom' relies on the 'renderer' to build the renderer in the browser environment. Is it easier to manage and build renderers for each platform without relying on 'runtime-core'.

What does the proposed API look like?

// build renderer import { createRenderer } from '@vue/renderer'

const { render, createApp } = createRenderer({ patchProp, insert, remove, createElement, // ... }) export { render, createApp }

avatar
Feb 25th 2022

drop