From 31c8e43926d9be6d9bb3e921e3d022d97cc3a039 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 10 Sep 2022 16:00:12 +0100 Subject: [PATCH] [Beta] Enable Strict Mode --- beta/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/beta/next.config.js b/beta/next.config.js index e35626e7..19857635 100644 --- a/beta/next.config.js +++ b/beta/next.config.js @@ -11,6 +11,7 @@ const redirects = require('./src/redirects.json'); **/ const nextConfig = { pageExtensions: ['jsx', 'js', 'ts', 'tsx', 'mdx', 'md'], + reactStrictMode: true, experimental: { plugins: true, scrollRestoration: true,