Evan You 9f65d811af release: v3.0.0-alpha.2 %!s(int64=6) %!d(string=hai) anos
..
__tests__ 3d16c0ea5a fix(runtime-test): output empty attrs without value in seralized output %!s(int64=6) %!d(string=hai) anos
src 3d16c0ea5a fix(runtime-test): output empty attrs without value in seralized output %!s(int64=6) %!d(string=hai) anos
LICENSE 34989ef7fe chore: license %!s(int64=6) %!d(string=hai) anos
README.md dcfac07431 chore: update readme for runtime-test %!s(int64=6) %!d(string=hai) anos
api-extractor.json b2d269a651 build: use api-extractor for type rollup %!s(int64=6) %!d(string=hai) anos
index.js e05673f4d3 refactor: rename packages %!s(int64=7) %!d(string=hai) anos
package.json 9f65d811af release: v3.0.0-alpha.2 %!s(int64=6) %!d(string=hai) anos

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)