Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(react-server): identity bundler config #72

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented May 16, 2024

As I started to read react flight more, it looks like identity bundler config on ssr is not necessary just like browser doesn't have bundler config.
https://github.com/facebook/react/blob/149b917c8a4022aeaa170c4fb826107dd2333c68/packages/react-server-dom-webpack/src/ReactFlightClientConfigBundlerWebpack.js#L65-L68


Actually, this bundler config trick might be key to support export * from "...", but then I don't understand how it would work since react client browser doesn't support bundler config?
Reading the context here facebook/react#26624, it looks like this is intended for CJS exports?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant