yarn react-query 2.24.0
v2.24.0

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

2.24.0 (2020-10-05)

Bug Fixes

  • always compare query keys as arrays (4d85cf9)
  • make sure default options can be overridden (469cf8d)
  • move optimistic fetching state into query observer (a817b5e)
  • mutate argument types and state update order (e160d46)
  • only suspend when mounting (c8f6634)
  • remove cache argument in cache callback (b13a4c8)
  • type improvements (84f93fc)
  • use updatedAt to check for existing data (f9aac2a)
  • wait for all queries to cancel (0f7fdd7)

Features

  • add bi-directional infinite query support (#1135) (b6b1dc6)
  • add filters client isFetching and useIsFetching hook (4c64cb9)
  • add structural sharing to select result (f9dc85a)
  • initial v3 changes (#1079) (9876f23)
  • memoize select function result (9fbc739)
  • revert to previous state on cancellation (765740d)
  • split mutate into mutate and mutateAsync (#1130) (8da45d1)
  • support multiple subscribers in observers (e049941)

Don't miss a new react-query release

NewReleases is sending notifications on new releases.