// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`lifecycle hooks basic checks for a component 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`test\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks component semantics 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
B
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks component semantics 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
D
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks component semantics 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
E
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks component semantics 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
F
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks component semantics 5`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
C
\`); return function template(ctx, node, key = \\"\\") { let b2,b3,b4; b2 = component(\`D\`, {}, key + \`__1\`, node, ctx); if (ctx['state'].flag) { b3 = component(\`E\`, {}, key + \`__2\`, node, ctx); } else { b4 = component(\`F\`, {}, key + \`__3\`, node, ctx); } return block1([], [b2, b3, b4]); } }" `; exports[`lifecycle hooks component semantics 6`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
A
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`B\`, {}, key + \`__1\`, node, ctx); let b3 = component(\`C\`, {}, key + \`__2\`, node, ctx); return block1([], [b2, b3]); } }" `; exports[`lifecycle hooks components are unmounted and destroyed if no longer in DOM 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks components are unmounted and destroyed if no longer in DOM 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].ok) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks components are unmounted and destroyed if no longer in DOM, even after updateprops 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].n; return block1([d1]); } }" `; exports[`lifecycle hooks components are unmounted and destroyed if no longer in DOM, even after updateprops 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block2 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].flag) { let b3 = component(\`Child\`, {n: ctx['state'].n}, key + \`__1\`, node, ctx); b2 = block2([], [b3]); } return multi([b2]); } }" `; exports[`lifecycle hooks hooks are called in proper order in widget creation/destruction 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks hooks are called in proper order in widget creation/destruction 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks lifecycle semantics 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {a: ctx['state'].a}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks lifecycle semantics, part 2 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics, part 2 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`GrandChild\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks lifecycle semantics, part 2 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].hasChild) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks lifecycle semantics, part 3 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics, part 3 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`GrandChild\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks lifecycle semantics, part 3 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].hasChild) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks lifecycle semantics, part 4 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics, part 4 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`GrandChild\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks lifecycle semantics, part 4 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].hasChild) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks lifecycle semantics, part 5 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics, part 5 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].hasChild) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks lifecycle semantics, part 6 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks lifecycle semantics, part 6 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`Child\`, {value: ctx['state'].value}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks mounted hook is called if mounted in DOM 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks mounted hook is called on every mount, not just the first one 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
child
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks mounted hook is called on every mount, not just the first one 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].hasChild) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks mounted hook is called on subcomponents, in proper order 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks mounted hook is called on subcomponents, in proper order 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks mounted hook is called on subsubcomponents, in proper order 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks mounted hook is called on subsubcomponents, in proper order 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`ChildChild\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks mounted hook is called on subsubcomponents, in proper order 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].flag) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return block1([], [b2]); } }" `; exports[`lifecycle hooks onRender 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { const v1 = ctx['increment']; let d1 = [v1, ctx]; let d2 = ctx['state'].value; return block1([d1, d2]); } }" `; exports[`lifecycle hooks onRender 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`Child\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks patched hook is called after updateProps 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks patched hook is called after updateProps 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {a: ctx['state'].a}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks patched hook is called after updating State 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['state'].a; return block1([d1]); } }" `; exports[`lifecycle hooks sub widget (inside sub node): hooks are correctly called 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks sub widget (inside sub node): hooks are correctly called 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2; if (ctx['state'].flag) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } return multi([b2]); } }" `; exports[`lifecycle hooks willPatch, patched hook are called on subsubcomponents, in proper order 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].n; return block1([d1]); } }" `; exports[`lifecycle hooks willPatch, patched hook are called on subsubcomponents, in proper order 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`ChildChild\`, {n: ctx['props'].n}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks willPatch, patched hook are called on subsubcomponents, in proper order 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {n: ctx['state'].n}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`lifecycle hooks willStart hook is called on sub component 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks willStart hook is called on sub component 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`Child\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`lifecycle hooks willStart is called 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`simple vnode\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks willStart is called with component as this 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`simple vnode\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks willStart, mounted on subwidget rendered after main is mounted in some other position 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`lifecycle hooks willStart, mounted on subwidget rendered after main is mounted in some other position 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); let block3 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2,b3; if (ctx['state'].ok) { b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); } else { b3 = block3(); } return block1([], [b2, b3]); } }" `; exports[`lifecycle hooks willUpdateProps hook is called 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].n; return block1([d1]); } }" `; exports[`lifecycle hooks willUpdateProps hook is called 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`Child\`, {n: ctx['state'].n}, key + \`__1\`, node, ctx); } }" `;