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



Copy link

@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

@LinusBorg LinusBorg added feat: v2 compat ready to merge The PR is ready to be merged. labels Dec 3, 2021
@yyx990803 yyx990803 merged commit ee97cf5 into vuejs:master Dec 6, 2021
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
feat: v2 compat ready to merge The PR is ready to be merged.
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants