9fff7e321c
Revert some code in #47379 and finalize HOC support. We should require the HOC to return a "use server" function, so there's no need to compile the function call specially now. To make that wrapping logic work, we need to allow passing a server reference to another server reference. This usually happens in the function closure in the HOC case, but ideally it's also allowed to directly pass it as an argument. This requires adding React server DOM's `encodeReply` and `decodeReply` and other corresponding changes, including adding `busboy` (can probably be vendored?) as we need to parse the multipart body now. fix NEXT-808 ([link](https://linear.app/vercel/issue/NEXT-808)) ([link](https://linear.app/vercel/issue/NEXT-808)) |
||
---|---|---|
.. | ||
app | ||
app-action.test.ts | ||
next.config.js |