rsnext/test/development
Shu Ding 4c3f59f88d
Implement server entry creation in client layer (#47127
In short, this PR adds a 3rd layer to the server compiler. This extra
layer is for marking the modules when re-entering the server layer from
a client component. It is almost identical to the existing server layer
and it should have all the same bundling and runtime behaviors, but it's
still special because it's not allowed to enter the client layer again
from there.

Because of that, we create the extra entry for that new layer when the
client layer compilation finishes in the `finishModules` phase. The new
entry is handled normally as it's in the server layer. But the original
module in the client layer will be compiled specially as special no-op
exports, and will then be connected via the `callServer` wrapper.

fix NEXT-809 ([link](https://linear.app/vercel/issue/NEXT-809)).
2023-03-15 23:58:18 +01:00
..
acceptance Improve RSC compiler error in external module (#46953) 2023-03-09 12:27:57 -08:00
acceptance-app Implement server entry creation in client layer (#47127 2023-03-15 23:58:18 +01:00
api-cors-with-rewrite fix(#11930): rewritten api routes can correctly handle cors in dev mode (#38937) 2022-07-29 21:39:43 -05:00
api-route-errors Resolve RSC / HTML rendering errors in error overlay (#43332) 2022-11-25 13:06:42 +01:00
app-hmr Fix app client child entry not being disposed when deleting the file (#46583) 2023-02-28 23:32:03 +00:00
app-render-error-log Improve app-render error log with edge runtime (#46157) 2023-02-20 16:24:15 +00:00
basic Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
client-dev-overlay Allowing hiding the ReactDevOverlay (#37417) 2022-06-06 14:21:53 -04:00
correct-tsconfig-defaults Update flakey tsconfig test (#40105) 2022-08-30 12:31:38 -05:00
dotenv-default-expansion Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
gssp-notfound Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
jsconfig-path-reloading Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
middleware-warnings Enable allowMiddlewareResponseBody by default (#44224) 2022-12-21 18:40:58 +00:00
next-font fix file name in next/font unresolved import error (#46187) 2023-02-22 01:48:56 +00:00
project-directory-with-styled-jsx-suffix fix: allow user directory with styled-jsx prefix in next dev (#41484) 2022-10-19 19:01:48 +00:00
repeated-dev-edits Add test checking that repeated edits won't cause hydration issues (#44189) 2022-12-21 14:17:50 +01:00
tsconfig-path-reloading Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
typescript-auto-install Update test config (#43661) 2022-12-03 19:49:00 -08:00
watch-config-file improve getStaticProps error message (#34287) 2022-05-22 16:50:21 -05:00
webpack-issuer-deprecation-warning fix(next): use moduleGraph.getIssuer to avoid deprecation warning (#36329) (#36330) 2022-04-21 14:14:03 +00:00