From febd97aac23fc074a6b8339a83cc385c4ad257e7 Mon Sep 17 00:00:00 2001 From: Barney Carroll Date: Thu, 15 Apr 2021 09:17:07 +0100 Subject: [PATCH] Back out migration ToC, correct references to vnode shape --- docs/migration-v02x.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/migration-v02x.md b/docs/migration-v02x.md index 035d3da2..f76aa851 100644 --- a/docs/migration-v02x.md +++ b/docs/migration-v02x.md @@ -431,20 +431,6 @@ m("div", "value", ["nested"]) } ``` -If only a single text child is present on a DOM vnode, it instead sets `text` to that value. - -```javascript -m("div", "value") - -// Becomes roughly: -{ - tag: "div", - attrs: null, - text: "", - children: undefined, -} -``` - See [the vnode docs](vnodes.md) for more details on the v2.x vnode structure and how things are normalized. *Most of the v2.x vnode properties here are omitted for brevity.*