Rename "shared subset" to "server" (#27939)

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.

DiffTrain build for [5d1b15a4f0](https://github.com/facebook/react/commit/5d1b15a4f06fa93e76cd89f37ea5bfd62cc66183)
This commit is contained in:
acdlite
2024-01-17 01:02:57 +00:00
parent f10aaf1267
commit 5832ad09fd
3 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
60a927d04ad3888facebcdf7da620aa1cfc9528f
5d1b15a4f06fa93e76cd89f37ea5bfd62cc66183