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

Improve data fetching upon form resubmission #110

Closed
parth-io opened this issue Aug 10, 2023 · 1 comment
Closed

Improve data fetching upon form resubmission #110

parth-io opened this issue Aug 10, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@parth-io
Copy link
Collaborator

Currently, we call mutateUsers() or mutateOrgs() after submitting a form to refresh the data on the frontend. However, this is fetches all the data again and not just the data from the updated form.

useSwr has a whole bunch of settings and tunings for an optimistic UI and to fetch only the required data, but could not get it to work previously.

@parth-io parth-io added enhancement New feature or request priority.low labels Aug 10, 2023
@zsh-eng zsh-eng added good first issue Good for newcomers and removed priority.low labels Oct 19, 2023
@zsh-eng
Copy link
Collaborator

zsh-eng commented Mar 23, 2024

Closing this issue as we react query takes care of that for us. See #198

@zsh-eng zsh-eng closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants