Skip to content

chore(site): update React Query to 5.101.4 - #27937

Draft
ethanndickson wants to merge 2 commits into
mainfrom
chore-site-react-query-5-101
Draft

chore(site): update React Query to 5.101.4#27937
ethanndickson wants to merge 2 commits into
mainfrom
chore-site-react-query-5-101

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Aug 7, 2026

Copy link
Copy Markdown
Member

Follow-up to #27514.

PR #27514 needed React Query's mutationOptions, but we were still on 5.77.0 and the helper was not available until 5.82.0. I kept that PR to the minimum version bump it needed because moving all the way to the latest version required code changes. This follow-up finishes that upgrade, taking React Query and its devtools from 5.82.0 to 5.101.4.

The newer mutation callback context meant a couple of tests could no longer call the option callbacks directly, so they now run the real lifecycle through MutationObserver. It also exposed stale placeholder data in usePaginatedQuery; the hook now waits for the active query key before prefetching or correcting an invalid page.

React Query now publishes some query updates one microtask later, so a few tests and stories also wait for the rendered state instead of assuming it is synchronous. Pixel exposed one separate IconField story race already present on main, so this also waits for the lazy picker before snapshotting.

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.

1 participant