Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Element: Refactor element package to be React Native friendly #7740
This PR refactors
This enforced also moving tests to new files, as well as updating all local references.
This change will help to maintain a version of the package which works for both web and React Native:
This will temporarily break npm package if we publish it to npm, similar to what we observed in other packages using
import _Object$defineProperty from 'babel-runtime/core-js/object/define-property'; import _Object$keys from 'babel-runtime/core-js/object/keys';
How has this been tested?
Types of changes
Refactoring only, there is no change in logic.
I will try to open another PR and follow your recommendation. We should have also less code to move around since we extracted