rsnext/test
Josh Story 65b0bb24af
Separate RSC and SSR jsx-runtime modules (#56438)
There should be no shared react packages in our server runtime. rsc should always be separate from ssr.

This update reconfigures the runtiem to eliminate shared react modules. the jsx runtime will now be separate for RSC and SSR. this is necessary because the implementations for the jsx runtime rely on React and they need to see the right versions.

Additionally I fixed an alias so that the shared subset react is used when using react-server condition.

I also fixed a bug in 2 tests related to class/className.

Note: this PR blocks upgrading React canary due to internal changes in how React state is managed in when using the `react-server` condition
2023-10-04 20:29:10 +00:00
..
.stats-app chore(ci): bump pnpm v8.6.11 to v8.7.1 (#54873) 2023-09-06 00:39:44 +00:00
__mocks__ [edge] bump @edge-runtime/* package suite (#49092) 2023-05-31 08:03:20 +00:00
development chore: pass defineEnv from next.js to rust directly (#56216) 2023-10-03 22:43:21 +02:00
e2e Separate RSC and SSR jsx-runtime modules (#56438) 2023-10-04 20:29:10 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Remove buildId test as it's no longer relevant (#56316) 2023-10-02 18:20:47 +00:00
lib More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00
production App Router - preinitialize chunks during SSR (#54752) 2023-10-03 21:40:25 +00:00
unit More Turbopack fixes (#56299) 2023-10-02 13:55:23 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
build-turbopack-tests-manifest.js test: add flaky turbopack integration tests to manifest (#56309) 2023-10-03 00:53:09 +02:00
jest-setup-after-env.ts Decrease default test timeouts (#56116) 2023-09-27 23:55:20 +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.json chore: pass defineEnv from next.js to rust directly (#56216) 2023-10-03 22:43:21 +02:00

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