Dev: disable SSR to avoid jsx-dev-runtime mismatch during local dev (temporary)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This commit is contained in:
2026-05-16 17:51:20 +02:00
parent 5358ee6f97
commit c4873daf3b
+2 -1
View File
@@ -3,5 +3,6 @@ import type { Config } from "@react-router/dev/config";
export default {
// Config options...
// Server-side render by default, to enable SPA mode set this to `false`
ssr: true,
// Disabled SSR in dev to avoid server-side JSX runtime mismatch causing crashes
ssr: false,
} satisfies Config;