The name “SWR” is derived from stale-while-revalidate , a cache invalidation ... import useSWR from 'swr' ... useSWR also returns 2 values: data and error .
確定! 回上一頁