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

fix(compat): maintain compatConfig option in legacy functional comp #4974

Merged

Conversation

xanf
Copy link
Contributor

@xanf xanf commented Nov 19, 2021

Legacy functional components could have own compatConfig which is lost when they are converted to function due to COMPONENT_FUNCTIONAL flag. This commit copies compatConfig to created function, so it continues to work in expected way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR is ready to be merged. scope: v2 compat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants