Skip to content

[Fix] Watched queries retriggers #102

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

Merged
merged 3 commits into from
Mar 25, 2024
Merged

[Fix] Watched queries retriggers #102

merged 3 commits into from
Mar 25, 2024

Conversation

stevensJourney
Copy link
Collaborator

Description

This fixes a regression from #90 which caused watched queries to update on any data table change instead of tables specified in the query or options.

This also pre-emptively does some code cleanup in the shared sync manager code.

Testing

Before: The watched query for the lists table would update even when a change was made to the todos table

watched-query-rerender.mov

After: the lists query does not retrigger for external updates

fixed_watch_rerender.mov

@stevensJourney stevensJourney marked this pull request as ready for review March 25, 2024 13:33
@stevensJourney stevensJourney merged commit 8fc2164 into main Mar 25, 2024
@stevensJourney stevensJourney deleted the fix-watched-queries branch March 25, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants