redux-query

A library for querying and managing network state in Redux applications

redux-query downloads redux-query version redux-query license

redux-queryPacotes similares:

Tendência de downloads npm

3 Anos
🌟 Mostre o gráfico de uso em tempo real no README.md de redux-query, basta copiar o código abaixo.
## Usage Trend
[![Usage Trend of redux-query](https://npm-compare.com/img/npm-trend/THREE_YEARS/redux-query.png)](https://npm-compare.com/redux-query#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 Mostre o gráfico de tendência de GitHub Stars no README.md de redux-query, basta copiar o código abaixo.
## GitHub Stars Trend
[![GitHub Stars Trend of redux-query](https://npm-compare.com/img/github-trend/redux-query.png)](https://npm-compare.com/redux-query)

Detalhe de estatísticas

Pacote
Downloads
Stars
Tamanho
Issues
Publicado em
Licença
redux-query46,8371,096197 kB13il y a 3 ansMIT

README para redux-query

redux-query

npm

A library for managing network state in Redux.

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

Redux API

React 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!