In its simplest form, this is how you use SWR: const { data, error } = useSWR('/api/user', fetcher). What I like about SWR is that data is tied to a key ...
確定! 回上一頁