A library for querying and managing network state in Redux applications
패키지 검색...
redux-query유사 패키지:
npm 다운로드 트렌드
3 년
🌟 redux-query의 README.md에 실시간 사용 차트를 표시하려면 아래 코드를 복사하세요.
## Usage Trend
[](https://npm-compare.com/redux-query#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 redux-query의 README.md에 GitHub Stars 트렌드 차트를 표시하려면 아래 코드를 복사하세요.
## GitHub Stars Trend
[](https://npm-compare.com/redux-query)
통계 세부사항
패키지
다운로드
Stars
크기
Issues
발행일
라이선스
redux-query
20,520
1,101
197 kB
13
2年前
MIT
인기 비교
redux-query
redux-query의 README
redux-query
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.
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.