Skip to content
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

chore: Move QueryViewNavigator to hooks #1140

Merged
merged 1 commit into from
Feb 1, 2023
Merged

chore: Move QueryViewNavigator to hooks #1140

merged 1 commit into from
Feb 1, 2023

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Feb 1, 2023

no logic change

@czgu czgu marked this pull request as ready for review February 1, 2023 01:28
Comment on lines +108 to +109
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [queryResults]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does it not need to depend on setupPolling?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need to poll when the queries change, when setupPoll change we don't need to do the polling again

@czgu czgu merged commit c3673df into pinterest:master Feb 1, 2023
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Apr 11, 2023
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
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