-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[cleanup] Remove react-clone-referenced-element dependency #23933
Conversation
This package was a dependency for ListView, which is no longer part of RN. Removed the dependency from package.json and yarn.lock. Also removed its pattern from the Jest preset -- ListView is not in this repo and also react-clone-referenced-element was written at a time when Node did not support the same modern JS features as RN. The latest Node 8+ supports the features that react-clone-referenced-element uses so we don't need to transform it. Test plan: - `rg react-clone-referenced-element` - Ensure CI passes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay, thanks for the cleanup!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was successfully merged by @ide in 7d84d0d. When will my fix make it into a release? | Upcoming Releases |
Summary: This package was a dependency for ListView, which is no longer part of RN. Removed the dependency from package.json and yarn.lock. Also removed its pattern from the Jest preset -- ListView is not in this repo and also react-clone-referenced-element was written at a time when Node did not support the same modern JS features as RN. The latest Node 8+ supports the features that react-clone-referenced-element uses so we don't need to transform it. [General] [Removed] - Removed unused react-clone-referenced-element dependency Pull Request resolved: #23933 Differential Revision: D14477240 Pulled By: cpojer fbshipit-source-id: 4f6975133b54cc75088262cedd11da20225cada8
ListView is still part of 0.59. We cant cherry-pick this one. Solved conflict manually. This reverts commit 27872cf.
Summary
This package was a dependency for ListView, which is no longer part of RN. Removed the dependency from package.json and yarn.lock.
Also removed its pattern from the Jest preset -- ListView is not in this repo and also react-clone-referenced-element was written at a time when Node did not support the same modern JS features as RN. The latest Node 8+ supports the features that react-clone-referenced-element uses so we don't need to transform it.
Changelog
[General] [Removed] - Removed unused react-clone-referenced-element dependency
Test Plan
rg react-clone-referenced-element