← Changelog
FixedApps

Code beside the preview opens pages with dynamic routes

With Code on in Preview's mobile view, a page like /u/inferencebureau left the code pane blank, because its file has a dynamic segment (u/[handle]/page.tsx) and only fixed routes were matched. Now the pane opens the page file the preview is on, dynamic and catch-all routes included. A Follow preview toggle shows whether it's doing that: picking a file in the sidebar or starting to edit turns it off, so moving around the preview never takes unsaved edits away, and a dot on it says when the preview has moved to another page. When no page file matches the address, the pane says so and doesn't go blank.