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

Rename "shared subset" to "server" #27939

Merged
merged 1 commit into from
Jan 17, 2024

Commits on Jan 16, 2024

  1. Rename "shared subset" to "server"

    The internal file ReactSharedSubset is what the `react` module resolves
    to when imported from a Server Component environment. We gave it this
    name because, originally, the idea was that Server Components can access
    a subset of the APIs available on the client.
    
    However, since then, we've also added APIs that can _only_ by accessed
    on the server and not the client. In other words, it's no longer a
    subset, it's a slightly different overlapping set.
    
    So this commit renames ReactSharedSubet to ReactServer and updates all
    the references. This does not affect the public API, only our
    internal implementation.
    acdlite committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    ef6b2f2 View commit details
    Browse the repository at this point in the history