Next.js 15 redirect() to parallel route causes infinite reload #67522
Labels
bug
Issue was opened via the bug report template.
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
TypeScript
Related to types with Next.js.
Link to the code that reproduces this issue
https://github.com/dalkommatt/redirect-parallel-route-infinite-reload
To Reproduce
/login
routeredirect('/login')
from'/'
Current vs. Expected behavior
Current: Infinitely reloads
/login
Expected: Opens model route
Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app, Navigation, Parallel & Intercepting Routes, TypeScript
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local), Vercel (Deployed)
Additional context
Tested on both RC and canary versions of Next.js 15
The text was updated successfully, but these errors were encountered: