Skip to content

Conversation

ide
Copy link
Contributor

@ide ide commented May 23, 2019

Summary

This commit uses the same base commit of React that's currently in RN (React ec6691a68716bc59291746fc62f374a56fb435c9) plus a commit in the React repo that removes Haste-style imports (React 61f62246c8cfb76a4a19d1661eeaa5822ec37b36). The resulting commit hash is 13d0561d30a4da10002e56ad1519d1dfc4d2e1ba.

I built React in the React repo with yarn build, copied over the oss and shims directories, and updated REVISION to the new commit hash (13d0561d30a4da10002e56ad1519d1dfc4d2e1ba).

This is part of #24770.

Changelog

[General] [Changed] - Sync React with Haste-style imports rewritten to use path-based imports instead

Test Plan

Test plan: run unit tests, CI

…ts instead

This commit uses the same base commit of React that's currently in RN (React ec6691a68716bc59291746fc62f374a56fb435c9) plus a commit in the React repo that removes Haste-style imports (React 61f62246c8cfb76a4a19d1661eeaa5822ec37b36). The resulting commit hash is 13d0561d30a4da10002e56ad1519d1dfc4d2e1ba.

I built React in the React repo with `yarn build`, copied over the `oss` and `shims` directories, and updated `REVISION` to the new commit hash (13d0561d30a4da10002e56ad1519d1dfc4d2e1ba).

Test plan: run unit tests, CI
@ide ide requested a review from cpojer May 23, 2019 18:17
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner labels May 23, 2019
@ide
Copy link
Contributor Author

ide commented May 23, 2019

Closing this since we need to figure out how to deal with the shims. This PR doesn't break anything but it doesn't fully move us to standard imports. The issue is that the shims still rely on Haste so that FB can internally use a different React renderer than the OSS repo does.

@ide ide closed this May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants