Skip to content

Handle underscore events #343

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

Merged
merged 2 commits into from
Apr 21, 2020
Merged

Handle underscore events #343

merged 2 commits into from
Apr 21, 2020

Conversation

andrewgouin
Copy link
Contributor

This was already solved in #278
Somehow it was removed by one of the commits in #280, even though the diff does not show it as a change.

This is to get it back in so that the already solved problem of multi-word events (i.e. bounds_changed) are properly mapped to multi-word prop names. (i.e. onBoundsChanged instead of onBounds_changed

All multi-word events are separated by an underscore instead of a space.
@andrewgouin
Copy link
Contributor Author

@auser can we get this back in since you already approved it last time?

@auser auser merged commit 2b27a1c into fullstackreact:master Apr 21, 2020
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.

2 participants