@aaronjensen/react-query 中文文档教程

发布于 4年前 浏览 21 项目主页 更新于 3年前

React Query Header

用于在 React 中获取、缓存和更新异步数据的挂钩

#TanStack semantic-release 加入 Github 上的讨论 最佳 JS Gitpod Ready-to-Code

喜欢这个图书馆吗? 试用整个 TanStack反应表反应表< /a>,React Charts

Visit react-query.tanstack.com for docs, guides, API and more!

Quick Features

  • Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)
  • Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)
  • Parallel + Dependent Queries
  • Mutations + Reactive Query Refetching
  • Multi-layer Cache + Automatic Garbage Collection
  • Paginated + Cursor-based Queries
  • Load-More + Infinite Scroll Queries w/ Scroll Recovery
  • Request Cancellation
  • React Suspense + Fetch-As-You-Render Query Prefetching
  • Dedicated Devtools (React Query Devtools)
  • (depending on features imported)

Become a Sponsor!

Contributors ✨

感谢这些优秀的人(emoji key):


Tanner Linsley

???? ???? ???? ???? ????

Andrew Cherniavskii

???? ????

Thibaut Tiberghien

????

Rohit Garg

????

Avinash

???? ????

Jason O'Neill

???? ⚠️

Jack Zhao

???? ????

dpyzo0o

????

Jelte Liekens

????

Jen Gettings

????

Justin

????

Marcelo Alves

????

Zorza

????

这个项目遵循all-contributors规格。 欢迎任何形式的贡献!

React Query Header

Hooks for fetching, caching and updating asynchronous data in React

#TanStack semantic-release Join the discussion on Github Best of JS Gitpod Ready-to-Code

Enjoy this library? Try the entire TanStack! React Table, React Form, React Charts

Visit react-query.tanstack.com for docs, guides, API and more!

Quick Features

  • Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)
  • Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)
  • Parallel + Dependent Queries
  • Mutations + Reactive Query Refetching
  • Multi-layer Cache + Automatic Garbage Collection
  • Paginated + Cursor-based Queries
  • Load-More + Infinite Scroll Queries w/ Scroll Recovery
  • Request Cancellation
  • React Suspense + Fetch-As-You-Render Query Prefetching
  • Dedicated Devtools (React Query Devtools)
  • (depending on features imported)

Become a Sponsor!

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Tanner Linsley

???? ???? ???? ???? ????

Andrew Cherniavskii

???? ????

Thibaut Tiberghien

????

Rohit Garg

????

Avinash

???? ????

Jason O'Neill

???? ⚠️

Jack Zhao

???? ????

dpyzo0o

????

Jelte Liekens

????

Jen Gettings

????

Justin

????

Marcelo Alves

????

Zorza

????

This project follows the all-contributors specification. Contributions of any kind welcome!

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文