import { cache } from 'swr' export const onDelete = async ({ id }) ... Essentially, cache.keys() will give you all the current cache keys in useSWR , including ...
確定! 回上一頁