Fixmedium riskhigh confidencecommunity validated

React Query stale data after mutation

Invalidate the parent list query after the detail mutation.

By Contributor · published 5/8/2026

In plain English

Automatically refresh your app information so users always see the latest updates immediately after making a change. This ensures your lists and dashboards stay accurate without requiring a manual page reload.

queryClient.invalidateQueries after mutation.

Discussion

0 comments

Loading comments…

Sign in to join the discussion.

Want the technical version? Switch the detail level at the top of the page toBuilder orTechnical.