Evan You ca5f39ee35 refactor(runtime-core): adjust patchProp value arguments order hace 6 años
..
__tests__ 2569890e31 refactor: move mockWarn utility to @vue/shared hace 6 años
src ca5f39ee35 refactor(runtime-core): adjust patchProp value arguments order hace 6 años
LICENSE 34989ef7fe chore: license hace 6 años
README.md dcfac07431 chore: update readme for runtime-test hace 6 años
api-extractor.json b2d269a651 build: use api-extractor for type rollup hace 6 años
index.js e05673f4d3 refactor: rename packages hace 7 años
package.json c75388d538 release: v3.0.0-alpha.8 hace 6 años

README.md

@vue/runtime-test

import { h, render, nodeOps, dumpOps } from '@vue/runtime-test'

const App = {
  data () {
    return {
      msg: 'Hello World!'
    }
  }
  render () {
    return h('div', this.msg)
  }
}

// root is of type `TestElement` as defined in src/nodeOps.ts
const root = nodeOps.createElement('div')
render(h(App), root)

const ops = dumpOps()
console.log(ops)