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

[DOM] disallow client entrypoints with react-server condition #28784

Merged
merged 1 commit into from
Apr 8, 2024

Commits on Apr 8, 2024

  1. [DOM] disallow client entrypoints with react-server condition

    `react-server` precludes loading code that expects to be run in a client context. This includes react-dom/client react-dom/server react-dom/unstable_testing react-dom/profiling and react-dom/static
    
    This update makes importing any of these client only entrypoints an error
    gnoff committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    7d47918 View commit details
    Browse the repository at this point in the history