mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
affeba5ed2c1aabe306448b09ca77d2b42376032
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 commit https://github.com/facebook/react/commit/472854820bfd0058dfc85524051171c7b7c998c1.
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%