From 92649850dc850bf2acaa4f66203d388570cc48df Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 25 May 2024 12:37:53 +0200 Subject: [PATCH] chore: disable StrictMode, as it does more harm than good (#63) For example, swapping modules in StrictMode doesn't work, as it swaps twice, undoing the change. --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index d0fecae..60d3e48 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,7 @@ const nextConfig = { output: "export", distDir: "dist", + reactStrictMode: false, experimental: { webpackBuildWorker: true,