mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
472854820b
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.