Q. 待って!さっきのcreateFileRouteってやつなに? A. ページを定義するAPI。”/blog”ページの設定や遷移時の処理を実装できる A. 表示するコンポーネントの設定(component) B. レンダリングに必要なデータのGET処理(loader)※Fetch-then-render(Awaitという仕組みでrender-as-you-fetchできる ) C. 認証の確認など(beforeLoader) D. サーチパラムスの型定義(validateSearch) 今回紹介しきれないですが、多機能で便利すぎる・・・
TanStack Start Overview o https://tanstack.com/start/latest/docs/framework/react/overview Building a Full Stack DevJokes App with TanStack Start o https://tanstack.com/start/latest/docs/framework/react/tutorial/reading-writing-file Guides o https://tanstack.com/start/latest/docs/framework/react/guide/routing File-Based Routing o https://tanstack.com/router/latest/docs/routing/file-based-routing React Server Components Your Way o https://tanstack.com/blog/react-server-components