react/scripts/shared
Andrew Clark 5d1b15a4f0
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.
2024-01-16 19:58:11 -05:00
..
__tests__ [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
evalToString.js [useFormState] Allow sync actions (#27571) 2023-10-31 23:32:31 -04:00
inlinedHostConfigs.js Rename "shared subset" to "server" (#27939) 2024-01-16 19:58:11 -05:00
listChangedFiles.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
pathsByLanguageVersion.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00