This feature release updates the React peer dependency to work with React 19, and fixes an additional skip token issue.
Changelog
React 19 Compat
React 19 was just released! We've updated our peer dep to accept React 19, and updated our runtime and type tests to check against both React 18 and 19.
Also see React-Redux v9.2.0 for the same peer dep update.
Other Fixes
We previously fixed an issue with the RTKQ core where serializeQueryArgs
callbacks could be called with skipToken
, potentially leading to errors. We've fixed an additional location in the useQuery
hooks where that could happen as well.
What's Changed
- Migrate to React 19 by @aryaemami59 in #4409
- Handle additional
serializeQueryArgs
+skipToken
case by @markerikson in #4762
Full Changelog: v2.4.0...v2.5.0