Question about committing and resolving routeTree.gen.ts in Git
Hi, I’m new to using TanStack Router.
I read in the official docs that the routeTree.gen.ts file should be committed to git since it’s part of the application runtime.
However, during collaboration, I sometimes see conflicts or constant modifications in this file when running the dev server.
In such cases, is the recommended approach to just regenerate the routeTree.gen.ts (by restarting the dev server or running the generate command), instead of manually resolving conflicts?
What’s the best practice for handling this file in a team environment?
0 Replies