fix(ssr): invoke directive created hook during hydration
This commit is contained in:
parent
11804fe93f
commit
57642fac8f
@ -244,6 +244,9 @@ export function createHydrationFunctions(
|
||||
const { props, patchFlag, shapeFlag, dirs } = vnode
|
||||
// skip props & children if this is hoisted static nodes
|
||||
if (patchFlag !== PatchFlags.HOISTED) {
|
||||
if (dirs) {
|
||||
invokeDirectiveHook(vnode, null, parentComponent, 'created')
|
||||
}
|
||||
// props
|
||||
if (props) {
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user