Open azvyae opened 4 weeks ago
It also happens on:
next@14.2.0
next@14.2.1
next@14.2.2
next@14.2.3
Still working properly on next@14.1.4
Hi @azvyae, unfortunately I can't reproduce this issue given the provided steps and repo. Is there some state you had present or additional steps taken I should be aware of?
@wbinnssmith did the UI refreshes automatically when you change the code inside the parallel route pages? Please make sure that the parallel routes should have two folders of @\foo and @\bar. Try to open up localhost:3000 then take look at the text shown.
If the UI shows "foo page" it means the file that you should try to edit is @foo/page.tsx, otherwise @bar/page.tsx
Unfortunately, when the fast refresh server is up, i can't get the auto refresh on the UI after I edited the page.tsx files
I have this issue as well. The only way to reflect changes made on a page under a parallel route is to restart the dev server. Which is a shame, I was really looking forward to using Parallel Routes and Streaming Data. Adding default.tsx, loading.tsx doesn't help either.
Link to the code that reproduces this issue
https://github.com/azvyae/turbopack-parallel-routes-hmr-bug
To Reproduce
--turbo
flagnpm run dev
localhost:3000
localhost:3000/parallel
PS: Interestingly, if there is only one folder of parallel route (e.g, only @foo/page.tsx or @bar/page.tsx) exist on the app, the problem is not gonna happen.
Current vs. Expected behavior
Current: HMR doesn't work in parallel routes
Expected: The page inside the parallel routes should be updated with HMR if there's an update in the component file.
Provide environment information
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes, Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response