mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
2a5d4d4c6b
While the goal is to remove legacy context completely, I think we can
already land the removal of legacy context for function components. I
didn't even know this feature existed until reading the code recently.
The win is just a couple of property lookups on function renders, but it
trims down the API already as the full removal will likely still take a
bit more time.
www: Starting with enabled test renderer and a feature flag for
production rollout.
RN: Not enabled, will follow up on this.
DiffTrain build for [af28f480e8](https://github.com/facebook/react/commit/af28f480e8e74ce71bb33259b61fef8a5a228f74)