Skip to content

Commit 304e2c4

Browse files
viktorronnbackwbinnssmith
authored andcommitted
Update redirect.mdx (#56414)
Add link to streaming doc
1 parent 53e64e4 commit 304e2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/02-app/02-api-reference/04-functions/redirect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: API Reference for the redirect function.
55

66
The `redirect` function allows you to redirect the user to another URL. `redirect` can be used in Server Components, Client Components, [Route Handlers](/docs/app/building-your-application/routing/route-handlers), and [Server Actions](/docs/app/building-your-application/data-fetching/forms-and-mutations).
77

8-
When used in a streaming context, this will insert a meta tag to emit the redirect on the client side. Otherwise, it will serve a 307 HTTP redirect response to the caller.
8+
When used in a [streaming context](/docs/app/building-your-application/routing/loading-ui-and-streaming#what-is-streaming), this will insert a meta tag to emit the redirect on the client side. Otherwise, it will serve a 307 HTTP redirect response to the caller.
99

1010
If a resource doesn't exist, you can use the [`notFound` function](/docs/app/api-reference/functions/not-found) instead.
1111

0 commit comments

Comments
 (0)