Skip to content

1.0.55 - The optimistic update

Compare
Choose a tag to compare
@hazae41 hazae41 released this 03 Sep 11:49
· 814 commits to master since this release

BREAKING CHANGES

  • refetch() now cancels ongoing requests (unless it's an optimistic update)
  • update() no longer throws on error, it just mutates the state with the error (you can still check for error by checking the returned state)

CHANGES

  • handle.aborter is now available on optimistic updates
  • handle.optimistic is now available to tell whether the ongoing request is optimistic
  • Lot of bug fixes and behaviour fixes