用于数据请求的 React Hooks 库 – SWR
swr.bootcss.com
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.
立即前往
返回首页