Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.9k
fix(watch): updateoldValue before runningcb to prevent stale value#12296
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedOct 30, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Size ReportBundles
Usages
|
pkg-pr-newbot commentedOct 30, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@vue/compiler-core@vue/compiler-dom@vue/compiler-ssr@vue/compiler-sfc@vue/reactivity@vue/runtime-core@vue/runtime-dom@vue/server-renderer@vue/sharedvue@vue/compatcommit: |
coderabbitaibot commentedMay 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
WalkthroughA new test case was added to the Changes
Sequence Diagram(s)sequenceDiagram participant ReactiveRef as Reactive Reference participant Watcher as Watcher participant Callback as Watch Callback ReactiveRef->>Watcher: Value changes (e.g., to true) Watcher->>Watcher: Update oldValue = newValue Watcher->>Callback: Invoke callback (may reset value) Callback->>ReactiveRef: Optionally reset value (e.g., to false) loop If value changes again ReactiveRef->>Watcher: Value changes (again) Watcher->>Watcher: Update oldValue = newValue Watcher->>Callback: Invoke callback endAssessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat withCodeRabbit:
SupportNeed help? Create a ticket on oursupport page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File ( |
edison1105 commentedMay 20, 2025
/ecosystem-ci run |
vue-bot commentedMay 20, 2025
📝 Ran ecosystem CI:Open
|
c69c4bb intovuejs:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
close#12294
Summary by CodeRabbit
Bug Fixes
Tests