next.js
451ca9c7 - Remove the `actionBrowser` to RSC `client` layering issue (#57842)

Commit
2 years ago
Remove the `actionBrowser` to RSC `client` layering issue (#57842) You can read the removed comments to get some context here. Based on the community feedback, we're removing this compile-time error and instead, it will be a runtime error only when it gets accessed by React and found it missing in the manifest. In the future, we'll need: - Converting the client references created this way to be specific errors. So they'll only throw in that certain case. - Or have a prepass compilation to collect all the references globally. This way we can support any kind of layer change. Related: https://twitter.com/trashh_dev/status/1719016700191150550.
Author
Parents
Loading