rsnext/test
Balázs Orbán 96a59344e8
fix(app): enable React Strict Mode by default (#53375)
### What?

Let Next.js enable React Strict Mode by default for the App Router.

This caught a bug with the `AppRouterAnnouncer` added in #47018 which
should be fixed as well.

### Why?

This logic:


a0d1d728b9/packages/next/src/build/webpack-config.ts (L326-L333)

assumes that the default value of `reactStrictMode` is `null`, but it
was set to `false` in #46656.

### How?

This PR reverts the default value to `null`.


Closes NEXT-1484
Fixes #53315

---------

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2023-08-22 20:17:17 +02:00
..
.stats-app fix: minimum node version 16.14.0 (#54331) 2023-08-22 08:58:53 +00:00
__mocks__ [edge] bump @edge-runtime/* package suite (#49092) 2023-05-31 08:03:20 +00:00
development fix(app): enable React Strict Mode by default (#53375) 2023-08-22 20:17:17 +02:00
e2e Fix missing locale info for middleware data request (#54357) 2023-08-21 22:34:42 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Fix data route ordering in dev (#54364) 2023-08-22 10:19:54 -07:00
lib fix: improve error message when output: export in app router (#54202) 2023-08-21 14:45:00 +00:00
production fix process.env not being available in standalone mode (#54203) 2023-08-18 16:04:48 +02:00
unit fix(edge): override init when cloning with NextRequest (#54108) 2023-08-16 18:54:35 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
jest-setup-after-env.ts type check tests (and convert next-test-utils.js to ts) (#51071) 2023-06-23 17:42:50 +00:00
jest.d.ts refactor smooth scroll bailout logic in app navigations (#53186) 2023-07-27 14:39:51 +00:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt
turbopack-tests-manifest.js enable more test cases for next.rs api (#53670) 2023-08-07 15:17:23 +02:00

See Testing for more information on how you can run/write/debug tests for Next.js.