We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d65a83 commit a2c9fbcCopy full SHA for a2c9fbc
packages/runtime-vapor/src/renderWatch.ts
@@ -110,16 +110,16 @@ function wrapEffectCallback(callback: (...args: any[]) => any): Function {
110
)
111
112
if (isFirstEffect) {
113
- if (dirs) {
114
- queuePostRenderEffect(() => {
115
- instance.isUpdating = false
+ queuePostRenderEffect(() => {
+ instance.isUpdating = false
+ if (dirs) {
116
invokeDirectiveHook(instance, 'updated')
117
- })
118
- }
119
- // updated hook
120
- if (u) {
121
- queuePostRenderEffect(u)
122
+ }
+ // updated hook
+ if (u) {
+ queuePostRenderEffect(u)
+ })
123
}
124
} else {
125
// is not mounted
0 commit comments