-
Notifications
You must be signed in to change notification settings - Fork 96
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
Why props that start with 'on' has undefined values? #105
Comments
I think this behavior is a bug and fix it in this Pull request. |
@CntChen nice PR, I hope it will be merged asap if it doesn't have any specific meaning. |
I've encountered this a few times (such a pita, tbh) but I think the reason behind the issue is that the VueJSX will automatically convert any I've used a few work-arounds...
|
Note on If you use traditional For those situations, you can use the This was initially my primary use case for passing |
Hi. I've updated babel and whole vue environment in my project and have found that any props which names start with
on
likeonEnter
oronboarding
have undefined values. When with https://github.com/vuejs/babel-plugin-transform-vue-jsx everything was fine.Why it so? It's probably not so difficult to me change their names but what the point of this, is it some tech solution?
And at last maybe you should mention about this restriction in readme if it's not a bug? To be honest I was really surprised when some of functionaly have broken after the upgrade)
Thank you.
The text was updated successfully, but these errors were encountered: