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

Remove an extra allocation for open source bundles #11797

Merged
merged 4 commits into from Dec 7, 2017

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Dec 7, 2017

This is an alternative to #11617 that doesn't break our internal www override of EventListener. The benefit is it gets rid of the { remove: function() {} } allocation in open source (which we don't use) but still routes React listeners through our www fork which is integrated with TimeSlice. This uses the new forking mechanism.

nhunzaker and others added 2 commits December 7, 2017 20:52
EventListener normalizes event subscription for <= IE8. This is no
longer necessary. element.addEventListener is sufficient.
Copy link
Contributor

@nhunzaker nhunzaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍

@gaearon gaearon merged commit f93e34e into facebook:master Dec 7, 2017
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.

None yet

3 participants