Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Releases: vadimdemedes/draqula

v0.5.4

04 Apr 06:59
Compare
Choose a tag to compare

Highlights

  • Fix race condition when fetching more items after page is focused 0e3ec3b
  • Add React Native + TypeScript recipe 5b691e3

v0.5.3...v0.5.4

v0.5.3

29 Mar 15:08
Compare
Choose a tag to compare

Highlights

  • Use AbortSignal type exposed from abort-controller to prevent TypeScript errors in React Native environment e8c441f

v0.5.2...v0.5.3

v0.5.2

15 Mar 20:00
Compare
Choose a tag to compare

Highlights

  • Remove undefined from useMutation's mutate() return type ddd4826

v0.5.0...v0.5.2

v0.5.0

15 Mar 11:50
Compare
Choose a tag to compare

Highlights

  • Add setData() to change data cache for each query ec458fb

v0.4.4...v0.5.0

v0.4.4

07 Mar 14:41
Compare
Choose a tag to compare

Highlights

  • Prevent state updates in useMutation after component unmounted 13d6412

v0.4.3...v0.4.4

v0.4.3

18 Feb 19:26
Compare
Choose a tag to compare

Highlights

  • Get rid of unstable_batchedUpdates usage, which allows Draqula to be used in React Native, where react-dom is unavailable f7e29b6

v0.4.2...v0.4.3

v0.4.1

09 Dec 00:25
Compare
Choose a tag to compare

Highlights

  • Expose useDraqulaClient hook to get instance of client 89bac66

v0.4.0...v0.4.1

v0.4.0

05 Dec 06:25
Compare
Choose a tag to compare

Highlights

  • Add preload() method to preload queries 425dadc

v0.3.0...v0.4.0

v0.3.0

05 Dec 05:59
Compare
Choose a tag to compare

Highlights

  • Use undefined instead of null for data and error props d96f9db
  • Add clearCache() method to client to clear cache 1e064d6
  • Expose message of the first server error in GraphQLError 0b09782
  • Allow skipping all refetching when performing mutation fbd463c
  • Refetch queries when window gets focused 1de0c15
  • Batch state updates via unstable_batchedUpdates 680d7a9

v0.2.3...v0.3.0

v0.2.3

16 Oct 02:41
Compare
Choose a tag to compare
  • Make options optional in fetchMore() a75ad33

v0.2.2...v0.2.3