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

[react-events] Refine executeUserEventHandler #16662

Merged
merged 2 commits into from
Sep 4, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Sep 4, 2019

This is a follow up to #16657 where I wasn't quite happy about losing the usage of invokeGuardedCallbackAndCatchFirstError. This reinstates invokeGuardedCallbackAndCatchFirstError and works around the problem-space by using an inline function to work out the user callback return value.

@sizebot
Copy link

sizebot commented Sep 4, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against a01f6db

@trueadm trueadm merged commit e86146e into facebook:master Sep 4, 2019
@trueadm trueadm deleted the callback-wrapper branch September 4, 2019 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants