redux-query-react
TypeScript icon, indicating that this package has built-in type declarations

3.6.1-rc.2 • Public • Published

redux-query-react

npm

redux-query-react is a library for directly integrating redux-query features with your React components.

Why use redux-query?

  • It's simply Redux: Follow best practices for storing and handling network state in Redux, with support for features like optimistic updates and cancellation. There's no magic here, just middleware, actions, selectors, and reducers.
  • It's extensible: Built to fit most use cases out-of-the-box, but can easily be extended with custom Redux middleware, UI integrations, and network interfaces.
  • It works great with React: With the provided React hooks and higher-order component in redux-query-react (optional), colocate data dependencies with your components and run requests when components mount or update.

Docs

API

Examples

  • Simple example: This example is a very simple web app that has only one feature – you can view and update your username. The purpose of this example is to demonstrate how requests and mutations (including optimistic updates) work with redux-query.
  • Hacker News: This example shows how to use redux-query, redux-query-react, and redux-query-interface-superagent to build a basic Hacker News client.

License

MIT

About

Brought to you by Amplitude Engineering. We're hiring!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.6.1-rc.259latest
3.5.0-alpha.12next

Version History

VersionDownloads (Last 7 Days)Published
3.6.1-rc.259
3.6.17,856
3.6.01
3.5.2180
3.5.11
3.5.1-alpha.1126
3.5.0-alpha.37
3.5.0-alpha.21
3.5.0-alpha.12
3.5.0-alpha.01
3.4.24,890
3.4.2-alpha.01
3.4.11,413
3.4.01
3.4.0-alpha.11
3.3.138
3.3.1-alpha.01
3.3.04
3.3.0-rc.01
3.3.0-alpha.71
3.3.0-alpha.61
3.3.0-alpha.51
3.3.0-alpha.41
3.3.0-alpha.31
3.3.0-alpha.21
3.3.0-alpha.11
3.3.0-alpha.01
3.2.11
3.2.1-alpha.21
3.2.0182
3.1.11
3.1.0-alpha.01
3.0.01
3.0.0-rc.71
3.0.0-rc.61
3.0.0-rc.51
3.0.0-rc.41
3.0.0-rc.31
3.0.0-rc.21
3.0.0-rc.11
3.0.0-rc.01
3.0.0-alpha.141
3.0.0-alpha.131
3.0.0-alpha.121
3.0.0-alpha.111
3.0.0-alpha.101
3.0.0-alpha.91
3.0.0-alpha.81
3.0.0-alpha.51
3.0.0-alpha.42
3.0.0-alpha.31
3.0.0-alpha.21

Package Sidebar

Install

npm i redux-query-react

Weekly Downloads

14,800

Version

3.6.1-rc.2

License

MIT

Unpacked Size

183 kB

Total Files

74

Last publish

Collaborators

  • blazzy
  • myztiq
  • ryanashcraft
  • gregjones
  • rctbusk
  • manthursday
  • kelson.warner