Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Last updated : Oct 26, 2022
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Oct 2022
Adopt ?

React Query 通常被描述为 React 缺失的数据获取库。获取,缓存,同步和更新服务器状态是许多 React 应用程序常见的需求,尽管这些需求易于理解,但众所周知,正确地实现这些需求非常困难。React Query 提供了一种基于 hooks 的更直接的方式。它与现有的基于 promise 机制的异步数据获取库协同工作,如 axiosFetchGraphQL。作为应用程序开发人员,你只需要传递一个解析数据的函数,其余的事情可以留给框架完成。该工具开箱即用,但也可以按需进行配置。它的开发者工具也能帮助刚接触此框架的开发人员理解其工作原理,遗憾的是,其开发者工具尚不支持 React Native。对于 React Native,你可以使用第三方开发者工具插件 Flipper。基于我们的经验,React Query 的第三版为我们的客户提供了生产环境所需的稳定性。

Oct 2021
Trial ?

React Query 通常被描述为 React 缺失的数据获取库。数据获取,缓存,同步和服务器状态更新是很多 React 应用中非常普遍的需求,虽然这些需求很容易理解,但在程序中正确的实现却是众所周知的困难。React Query 提供了一种基于React Hooks 的简便直接的方案。作为应用的开发者,只需要传入一个解析数据的函数,然后把其他的工作都交给这个框架即可。我们喜欢它能开箱即用,又能在需要时进行多样化配置。它的开发工具可以帮助新接触 React Query 的开发人员理解该框架的工作原理,但遗憾的是,它还无法在 React Native 中使用。根据我们的经验,该框架的第三版拥有了线上产品所需要的稳定性。

Published : Oct 27, 2021

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes