Skip to content

Conversation

necolas
Copy link
Contributor

@necolas necolas commented Apr 19, 2019

Moving functions that are used across the event modules to a shared module. This is currently being inlined in each event module. We can determine which, if any, of these functions could be moved into the core and exposed via context. And we could avoid inlining any remaining shared code that doesn't belong in core.

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

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

We need a build time fork of this file for FB too. Otherwise this will just be inlined again.

@necolas necolas merged commit 5857c89 into facebook:master Apr 19, 2019
@necolas necolas deleted the react-events/extract-shared-helpers branch April 19, 2019 17:06
@NE-SmallTown
Copy link
Contributor

I think rename the file name to a 'shared' directory maybe will be more common

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