yarn react-query 4.0.0-alpha.1
v4.0.0-alpha.1

latest releases: 3.39.3, 4.0.0, 3.39.2...
2 years ago

4.0.0-alpha.1 (2021-12-07)

Features

  • New Network Mode
  • Mutation Cache Garbage Collection
  • Tracked Queries per default

BREAKING CHANGES

  • Query Keys (and Mutation Keys) need to be an Array
  • Separate hydration exports have been removed
  • notifyOnChangeProps property no longer accepts "tracked" as a value
  • notifyOnChangePropsExclusion has been removed
  • Consistent behavior for cancelRefetch
  • New Query Filters
  • Streamlined NotifyEvents
  • The src/react directory was renamed to src/reactjs
  • onSuccess is no longer called from setQueryData
  • persistQueryClient and the corresponding persister plugins are no longer experimental and have been renamed
  • The cancel method on promises is no longer supported
  • Queries and mutations, per default, need network connection to run
  • Removed undocumented methods from the queryClient

Don't miss a new react-query release

NewReleases is sending notifications on new releases.