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(compiler-core): allow capitalized resolve dynamic component #3509

Conversation

cathrinevaage
Copy link
Contributor

fix #3507

I see #3508 by @HcySunYang, but their fix allows for any capitalization, i.e 'CoMpOnEnT'.
This ensures either 'Component' or 'component', to keep it inline with other built-in components like Transition, KeepAlive, etc.

@HcySunYang
Copy link
Member

See the latest commit

@posva
Copy link
Member

posva commented Mar 29, 2021

Let's keep #3508 and add a code review there next time, it's easier to handle.

It's also not a good idea from a perf perspective to create an array everytime

@posva posva closed this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic component with pascalcase not working correctly
3 participants