feat: detailed info in renderTriggered + hint for skipping slot updates

This commit is contained in:
Evan You
2018-11-08 18:20:07 -05:00
parent 6027d480f3
commit 64029b4a54
3 changed files with 50 additions and 5 deletions

View File

@@ -22,7 +22,8 @@ export const Portal = Symbol()
type RawChildType = VNode | string | number | boolean | null | undefined
export type RawSlots = {
[name: string]: () => RawChildrenType
$stable?: boolean
[name: string]: RawChildType | (() => RawChildrenType)
}
export type RawChildrenType = RawChildType | RawChildType[]