Skip to content

Commit 1cafeb4

Browse files
Docs: Update confusing wording in intercepting routes (#53854)
Fixes: #53787
1 parent 45576ae commit 1cafeb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/02-app/01-building-your-application/01-routing/09-intercepting-routes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ related:
88
- app/building-your-application/routing/parallel-routes
99
---
1010

11-
Intercepting routes allows you to load a route within the current layout while keeping the context for the current page. This routing paradigm can be useful when you want to "intercept" a certain route to show a different route.
11+
Intercepting routes allows you to load a route from another part of your application within the current layout. This routing paradigm can be useful when you want to display the content of a route without the user switching to a different context.
1212

13-
For example, when clicking on a photo from within a feed, a modal overlaying the feed should show up with the photo. In this case, Next.js intercepts the `/feed` route and "masks" this URL to show `/photo/123` instead.
13+
For example, when clicking on a photo in a feed, you can display the photo in a modal, overlaying the feed. In this case, Next.js intercepts the `/photo/123` route, masks the URL, and overlays it over `/feed`.
1414

1515
<Image
1616
alt="Intercepting routes soft navigation"

0 commit comments

Comments
 (0)