2.3.0 • Published 8 months ago

react-data-query v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

React Data Query

Features

  • auto caching
  • data are in sync across multiple Hooks.
  • ability to combine the same multiple network requests (determined by dataQueryKey) into a single one.
  • ability to avoid race conditions.
  • reducing the number of render times as much as possible.
  • freshness of data are guaranteed (depends on passed options object).
  • can also be used to share global state as it has been built using callbacks and guarantee to re-render only affected components.

Description

Client side asynchronous remote state management library. Library's syntaxes and functionalities are very similar to and inspired by react-query library. RDQ makes network requests and cache the results along with the dataQueryKey.

Version History

  • 1.0.0 and 2.0.0 were deprecated. Because of unexpected Error.
  • 2.0.2, 2.0.3 and 2.0.4 were unpublished. Because I made a small change and published it without testing. As the result, it causes the Error. I will try not to happen like that again.
  • 2.0.9 - Fixed setting data of useInfiniteDataQuery via setQueryData and setQueriesData. Read API Reference of useInfiniteDataQuery.
  • 2.1.4 integrated with TypeScript.
  • From 2.1.9, you can import TypeScript types.
  • 2.2.0 - From this version, giving you the flexibilities to describe what data type will be returned and how the shape of the context will be look like. And more...
  • 2.3.0 - added new status 'isSuccess'

    Please install the latest version

More Documentations

Read more documentation here.

2.3.0

8 months ago

2.2.2

9 months ago

2.2.1

9 months ago

2.2.0

9 months ago

2.1.9

10 months ago

2.1.8

10 months ago

2.1.7

10 months ago

2.1.6

10 months ago

2.1.5

10 months ago

2.1.4

10 months ago

2.1.3

10 months ago

2.1.2

10 months ago

2.1.1

10 months ago

2.1.0

10 months ago

2.0.9

12 months ago

2.0.8

12 months ago

2.0.7

12 months ago

2.0.6

12 months ago

2.0.5

12 months ago

2.0.4

12 months ago

2.0.3

12 months ago

2.0.2

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago