You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using react router v1.170.3 if in my __root.tsx file if I use createRootRouteWithContext to create my route Vite fast refresh doesn't work.
I get the error:
[vite] (client) hmr update /src/css/index.css, /src/routes/__root.tsx
[vite] (client) hmr invalidate /src/routes/__root.tsx Could not Fast Refresh ("Route" export is incompatible). Learn more at https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#consistent-components-exports
If I use createRootRoute I don't see the error in the terminal.
Activity