All Projects → amplitude → Redux Query

amplitude / Redux Query

Licence: other
A library for managing network state in Redux

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Redux Query

Wretch Middlewares
Collection of middlewares for the Wretch library. 🎁
Stars: ✭ 42 (-96.02%)
Mutual labels:  middleware, fetch, request
Ky Universal
Use Ky in both Node.js and browsers
Stars: ✭ 421 (-60.09%)
Mutual labels:  fetch, request
Concurrency Logger
Log HTTP requests/responses separately, visualize their concurrency and report logs/errors in context of a request.
Stars: ✭ 400 (-62.09%)
Mutual labels:  middleware, request
Ky
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
Stars: ✭ 7,047 (+567.96%)
Mutual labels:  fetch, request
React Request
Declarative HTTP requests for React
Stars: ✭ 340 (-67.77%)
Mutual labels:  fetch, request
Expressa
API creation middleware with an admin interface
Stars: ✭ 347 (-67.11%)
Mutual labels:  hacktoberfest, middleware
Node Fetch
A light-weight module that brings the Fetch API to Node.js
Stars: ✭ 7,176 (+580.19%)
Mutual labels:  hacktoberfest, fetch
Trae
📮 Minimalistic Fetch based HTTP client
Stars: ✭ 257 (-75.64%)
Mutual labels:  fetch, request
Composable Fetch
A library that brings composition to http requests & solves most common tasks
Stars: ✭ 23 (-97.82%)
Mutual labels:  fetch, request
Create Request
Apply interceptors to `fetch` and create a custom request function.
Stars: ✭ 34 (-96.78%)
Mutual labels:  fetch, request
Slim Cli
A Slim 3 middleware enabling a mock HTTP request to be made through the CLI.
Stars: ✭ 37 (-96.49%)
Mutual labels:  middleware, request
Gretchen
Making fetch happen in TypeScript.
Stars: ✭ 301 (-71.47%)
Mutual labels:  fetch, request
React Fetch Hook
React hook for conveniently use Fetch API
Stars: ✭ 285 (-72.99%)
Mutual labels:  hacktoberfest, fetch
Vuex Rest Api
A utility to simplify the use of REST APIs with Vuex
Stars: ✭ 365 (-65.4%)
Mutual labels:  hacktoberfest, middleware
Cors
🔮Supported(Laravel/Lumen/PSR-15/Swoft/Slim/ThinkPHP) - PHP CORS (Cross-origin resource sharing) middleware.
Stars: ✭ 266 (-74.79%)
Mutual labels:  middleware, request
Express Openapi Validator
🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
Stars: ✭ 436 (-58.67%)
Mutual labels:  hacktoberfest, middleware
react-redux-api-tools
A set of tools to facilitate react-redux development and decouple logic from compontents
Stars: ✭ 37 (-96.49%)
Mutual labels:  fetch, middleware
electron-request
Zero-dependency, Lightweight HTTP request client for Electron or Node.js
Stars: ✭ 45 (-95.73%)
Mutual labels:  fetch, request
Ngx Restangular
Restangular for Angular 2 and higher versions
Stars: ✭ 787 (-25.4%)
Mutual labels:  fetch, request
Axios Module
Secure and easy axios integration with Nuxt.js
Stars: ✭ 998 (-5.4%)
Mutual labels:  hacktoberfest, request

redux-query

Travis Codecov

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.

Packages

This project is published as multiple packages. redux-query, the core library, is the only required package. redux-query-react is recommended if you are using React in your application. redux-query requires a network interface which handles the implementation of network requests. You must either use the recommended interface, redux-query-interface-superagent, or supply your own.

Name Version Description
redux-query npm The core library for managing network requests with Redux.
redux-query-react npm Library of APIs for integrating redux-query with React components.
redux-query-interface-superagent npm The recommended network interface that handles network requests.

Upgrade guides

Contributing

See CONTRIBUTING.md.

License

MIT

About

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].