Intercepting Routes とは?
intercepting routes は、ナビゲーションを捕捉して現在のページを置き換える代わりにその中でレンダリングできるようにするルーティング機能です。よくある用途は、対象のルートを、ユーザーが来たページに重ねた modal として表示することです。ルートは依然として自身の URL を持つため、直接アクセスや再読み込みでは完全な単独ページがレンダリングされます。
なぜ重要か
インターセプトは、コンテキスト内オーバーレイの滑らかな体験を提供しつつ、ディープリンク可能で共有可能な URL を保ちます。modal の UX と適切なルーティングのどちらかを選ぶ必要がなくなります。
関連ガイド
What Are Parallel Routes?Parallel routes let one layout render multiple independent route slots at once, so distinct sections of a pag…
What Is a Route Handler?A route handler is server-side code mapped to a URL path that processes a request and returns a response, use…
What Is a Loading Skeleton?A loading skeleton is a placeholder UI that mimics the shape of content while it loads, giving a sense of str…