Soiiw收录

用于数据请求的 React Hooks 库 – SWR

SWRisaReactHookslibraryfordatafetching.SWRfirstreturnsthedatafromcache(stale),thensendsthefetchrequest(revalidate),andfinallycomeswiththeup-to-datedataagain.

SWR is a React Hooks library for data fetching. SWR first returns the data from cache (stale), then sends the fetch request (revalidate), and finally comes with the up-to-date data again.

数据统计

相关导航

暂无评论

暂无评论...