mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
c178d6f4b10e0979a9ef4fef2bdae1dd2298536e
Server Context was never documented, and has been deprecated in
https://github.com/facebook/react/pull/27424.
This PR removes it completely, including the implementation code.
Notably, `useContext` is removed from the shared subset, so importing it
from a React Server environment would now should be a build error in
environments that are able to enforce that.
DiffTrain build for [472854820b](https://github.com/facebook/react/commit/472854820bfd0058dfc85524051171c7b7c998c1)
Please do not delete this branch
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%