2.3.0 • Published 2 years ago

react-data-query v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

2.2.2

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago