Open yasuk-0714 opened 12 months ago
ローディングはコンポーネントっていうよりもApp Routerのloadng.tsx使う感じでしょうか?🤔 https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming
そうですね!その認識であっています🙆 完全に作成時点では、pages routerの感じでissue作ってました😂
export default function Loading() {
// You can add any UI inside Loading, including a Skeleton.
return <LoadingSkeleton />
}
やる事
API取得時のLoadingコンポーネントを共通化したいので、Loadingコンポーネントを作成する