-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(reactivity): chained computeds lost reactivity #11170
Conversation
/ecosystem-ci run |
📝 Ran ecosystem CI: Open
|
Hold on, just found a |
@wanghanzhen could you try to provide reproduce, I think it's necessary to add |
@wanghanzhen It's occurred an error in 3.4.28 as well, |
@wanghanzhen Submitted #11183 for fixing both #11169 and #11181, reused your test case |
When getting
dirty
and_dirtyLevel === DirtyLevels.MaybeDirty_ComputedSideEffect_Origin
, it's supposed to executeresetTracking
beforereturn true
. Otherwise,computed
after that cannot be tracked and ends up losing reactivity.Fix #11169