From c4873daf3b66f08e4126d9e21070b5313a47f62e Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Sat, 16 May 2026 17:51:20 +0200 Subject: [PATCH] Dev: disable SSR to avoid jsx-dev-runtime mismatch during local dev (temporary)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- react-router.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-router.config.ts b/react-router.config.ts index 6ff16f9..5fea3e7 100644 --- a/react-router.config.ts +++ b/react-router.config.ts @@ -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;