From 9595446291ceeb3f685e7d20882cbfe5925eb3da Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 28 May 2019 20:14:04 +0800 Subject: [PATCH] chore: remove todos --- packages/runtime-core/src/createRenderer.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/packages/runtime-core/src/createRenderer.ts b/packages/runtime-core/src/createRenderer.ts index 3ec66d67..5067fd4d 100644 --- a/packages/runtime-core/src/createRenderer.ts +++ b/packages/runtime-core/src/createRenderer.ts @@ -1,15 +1,3 @@ -// TODO: -// - refs -// - slots -// - keep alive -// - app context -// - svg -// - hydration -// - error handling -// - warning context -// - parent chain -// - reused nodes (warning) - import { Text, Fragment, @@ -19,16 +7,16 @@ import { VNode, VNodeChildren } from './vnode' -import { isString, isArray, EMPTY_OBJ, EMPTY_ARR } from '@vue/shared' -import { TEXT, CLASS, STYLE, PROPS, KEYED, UNKEYED } from './patchFlags' -import { effect, stop } from '@vue/observer' import { ComponentInstance, renderComponentRoot, shouldUpdateComponent, createComponentInstance } from './component' +import { isString, isArray, EMPTY_OBJ, EMPTY_ARR } from '@vue/shared' +import { TEXT, CLASS, STYLE, PROPS, KEYED, UNKEYED } from './patchFlags' import { queueJob, queuePostFlushCb, flushPostFlushCbs } from './scheduler' +import { effect, stop } from '@vue/observer' function isSameType(n1: VNode, n2: VNode): boolean { return n1.type === n2.type && n1.key === n2.key