Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature flag to disable legacy context for function components #30319

Merged
merged 1 commit into from
Jul 11, 2024

Commits on Jul 11, 2024

  1. Feature flag to disable legacy context for function components

    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.
    kassens committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bfd6b6f View commit details
    Browse the repository at this point in the history