(value: number, inVOnce = false)
| 313 | * @private |
| 314 | */ |
| 315 | export function setBlockTracking(value: number, inVOnce = false): void { |
| 316 | isBlockTreeEnabled += value |
| 317 | if (value < 0 && currentBlock && inVOnce) { |
| 318 | // mark current block so it doesn't take fast path and skip possible |
| 319 | // nested components during unmount |
| 320 | currentBlock.hasOnce = true |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | function setupBlock(vnode: VNode) { |
| 325 | // save current block children on the block vnode |
no outgoing calls