TanStackT
TanStack14mo ago
1 reply
foolish-indigo

Router Memory History route not persisting upon page reload

I was using Browser History when setting up tanstack-router to my react-vite-electron project.
Unfortunately, during build this was not working due to some Electron issues, which made me switch to Memory History.
https://github.com/TanStack/router/discussions/835

I am new to Memory History and it seems like when I reload/force-reload the page in Electron, the route switches to the index route which did not happen when using Browser History. Is there a way to prevent this?
GitHub
I'm working on an electron project but in dev everything is working fine but the build is not working. Please 🙏 let me know how to fix that
Tanstack router with electron-vite-react · TanStack router · Discus...
Was this page helpful?