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

Remove module pattern function component support #27742

Merged
merged 1 commit into from
Mar 28, 2024

Commits on Mar 28, 2024

  1. React has deprecated module pattern Function Components for many year…

    …s at this point. Supporting this pattern required React to have a concept of an indeterminate component so that when a component first renders it can turn into either a ClassComponent or a FunctionComponent depending on what it returns. While this feature was deprecated and put behind a flag it is still in stable. This change remvoes the flag, removes the warnings, and removes the concept of IndeterminateComponent from the React codebase.
    gnoff committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    081a4a9 View commit details
    Browse the repository at this point in the history