@@ -10,7 +10,7 @@ import { assertDefined, assertEqual } from '../assert/assert';
1010import { NodeType } from '../util/types' ;
1111import { intToStr } from '../object/store' ;
1212import { EMPTY_ARRAY } from '../util/flyweight' ;
13- import { StaticChildren } from './jsx/host.public' ;
13+ import { SkipRerender } from './jsx/host.public' ;
1414import { logDebug , logError } from '../util/log' ;
1515
1616type KeyToIndexMap = { [ key : string ] : number } ;
@@ -59,7 +59,7 @@ export function smartUpdateChildren(
5959 mode : ChildrenMode ,
6060 isSvg : boolean
6161) {
62- if ( ch . length === 1 && ch [ 0 ] . type === StaticChildren ) {
62+ if ( ch . length === 1 && ch [ 0 ] . type === SkipRerender ) {
6363 if ( elm . firstChild !== null ) {
6464 return ;
6565 }
@@ -239,7 +239,7 @@ export function patchVnode(
239239 return ;
240240 }
241241
242- if ( tag === Host || tag === StaticChildren ) {
242+ if ( tag === Host || tag === SkipRerender ) {
243243 return ;
244244 }
245245
@@ -472,7 +472,7 @@ function createElm(ctx: RenderContext, vnode: JSXNode, isSvg: boolean): ValueOrP
472472 return then ( wait , ( ) => {
473473 let children = vnode . children ;
474474 if ( children . length > 0 ) {
475- if ( children . length === 1 && children [ 0 ] . type === StaticChildren ) {
475+ if ( children . length === 1 && children [ 0 ] . type === SkipRerender ) {
476476 children = children [ 0 ] . children ;
477477 }
478478 const slotMap = isComponent ? getSlots ( componentCtx , elm ) : undefined ;
0 commit comments