You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of effect within the vue-vapor project does not fully conform to the standard watchEffect behavior, particularly lacking in comprehensive flush timing options.
We aim to align vue-vapor's watchEffect with the standard version by introducing detailed flush options (pre, post, sync). A fully realized flush mechanism will facilitate the implementation of the beforeUpdate directive lifecycle hook.
In addition, we plan to introduce a new onEffectCleanup API analogous to onScopeDispose, which will aid in implementing dynamic arguments for v-on. first, extend watchEffect in the runtime-vapor package. If necessary later, extract it to the reactivity package.
The text was updated successfully, but these errors were encountered:
LittleSound
changed the title
[Runtime] Implement Full watchEffect Functionality in Vue Vapor
[Runtime] Implement Full watchEffect Functionality in Vue Vapor
Dec 16, 2023
The current implementation of
effect
within the vue-vapor project does not fully conform to the standardwatchEffect
behavior, particularly lacking in comprehensiveflush
timing options.We aim to align vue-vapor's
watchEffect
with the standard version by introducing detailedflush
options (pre
,post
,sync
). A fully realizedflush
mechanism will facilitate the implementation of thebeforeUpdate
directive lifecycle hook.In addition, we plan to introduce a new
onEffectCleanup
API analogous toonScopeDispose
, which will aid in implementing dynamic arguments forv-on
. first, extendwatchEffect
in the runtime-vapor package. If necessary later, extract it to the reactivity package.The text was updated successfully, but these errors were encountered: