... error } = useSWR( "https://jsonplaceholder.typicode.com/posts", fetcher); if (error) return <div>Failed to load posts</div>; ...
確定! 回上一頁