const post = getPost(id); // just works ... const { data: posts } = useSWR(['posts by user', userId], fetchPostsByUser); ...
確定! 回上一頁