next.js
7579b418 - Remove async module detection from client flight manifest (#68584)

Commit
1 year ago
Remove async module detection from client flight manifest (#68584) ### What Remove the async client modules collection from shared plugin state, which was used for flight client manifest. ### Why This was the legacy logic when React RSC renderer requires the `async` property in the flight manifest, but then React dropped that change and all the async modules are handled on the framework side, React won't do any extra await for the modules which are marked as `async: true` in the manifest. The new async module logic is handled in [this PR](https://github.com/vercel/next.js/pull/66990) now, most critically in [this line](https://github.com/vercel/next.js/pull/66990/files#diff-20be1066bb3785bdd9f255179957039e7ce035324bc7753aefe89ffc6bb6f1edR115). Hence we removed that state for flight manifest. cc @unstubbable
Author
Parents
Loading