Repository navigation
refactor(lit-query/createQueriesController): rename the per-result 'observer' in 'trackResult' to 'resultObserver' to avoid shadowing - #12291
Conversation
…bserver' in 'trackResult' to 'resultObserver' to avoid shadowing
|
|
View your CI Pipeline Execution ↗ for commit be291b6
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
size-limit report 📦
|
🎯 Changes
In
QueriesController#trackResult, rename the observer picked for each result (observers[index]) fromobservertoresultObserver.The
observers.forEach((observer) => ...)callback insidetrackResultwas shadowing it (no-shadow). The callback keeps theobservername, matchinggetCurrentObserverResultsin the same file.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit