Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't unnecessarily double-register Babel (#963)
Summary: Pull Request resolved: #963 D5380795 (6 years ago) introduced a workaround for a Babel re-entrancy bug reported by React Native users in facebook/react-native#14530. Since babel/babel#7588 (Babel 7.0), this bug was fixed upstream - it's now effectively a no-op to register Babel twice. The old workaround gets in the way of cleanly "unregistering" Babel because it pushes two hooks onto the `pirates` stack, and possibly has a slight perf impact. Changelog: Internal Reviewed By: huntie Differential Revision: D44627126 fbshipit-source-id: b7971af85c5d9ad9e71b53409170c7040f07217d
- Loading branch information