#Full page reload on editing loader
1 messages · Page 1 of 1 (latest)
If nextjs apps and remix apps are running on same port, then due to multiple reloads, your full page is getting reloading while editing loader. Try changing any one app's port to a different port and it should not reload full page.
I didn't have any nextjs or remix apps running. I was just following the tutorial from React Router docs.
Try updating the remix version to 1.12
I am not using Remix. I am playing with React Router
I think it depends on what you are editing. I put together a little sample app that had <App/> and then that references <Test/>. If I edited the App.tsx file, it appeared to reload everything and lose my state in Test.tsx, if I edited the Test.tsx file, it appeared to only reload Test.tsx and maintained the state in Test.tsx.