Skip to content
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

Make ReactComponentTreeDevtool work with React Native #6633

Merged
merged 1 commit into from
Apr 29, 2016
Merged

Make ReactComponentTreeDevtool work with React Native #6633

merged 1 commit into from
Apr 29, 2016

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Apr 27, 2016

This makes #6549 work with React Native.
Note the big test is the key part but GitHub UI skips it:

https://github.com/gaearon/react/blob/6173bdd6c460a5fa5cb8547c57dd789b946848a9/src/isomorphic/devtools/__tests__/ReactComponentTreeDevtool-test.native.js

I copy-pasted all tests from the main suite but edited to reflect some specifics of RN.

@sebmarkbage
Copy link
Collaborator

What's the test plan here? You should probably test this in the actual React Native environment since our tests here are still poor.

@gaearon
Copy link
Collaborator Author

gaearon commented Apr 27, 2016

Will do tomorrow!

@ghost ghost added the CLA Signed label Apr 27, 2016
@gaearon
Copy link
Collaborator Author

gaearon commented Apr 29, 2016

Works well with UIExplorer:

screen shot 2016-04-29 at 16 06 50

@ghost
Copy link

ghost commented Apr 29, 2016

@gaearon updated the pull request.

@gaearon gaearon merged commit 45ec126 into facebook:master Apr 29, 2016
@gaearon gaearon deleted the native-tree-devtool branch April 29, 2016 15:21
zpao pushed a commit that referenced this pull request May 10, 2016
Make ReactComponentTreeDevtool work with React Native
(cherry picked from commit 45ec126)
@zpao zpao modified the milestones: 15.1.0, 15.y.0 May 20, 2016
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.

3 participants