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

How to use with react-native? #133

Closed
yomybaby opened this issue May 24, 2022 · 1 comment
Closed

How to use with react-native? #133

yomybaby opened this issue May 24, 2022 · 1 comment

Comments

@yomybaby
Copy link

I tried to use relay-devtools standalone with react-native app.

git clone https://github.com/relayjs/relay-devtools.git
cd relay-devtools
yarn install
yarn build:standalone
yarn test:standalone

After devtools standalone version launched :
image

Follow react native guide on the screen,

  • launch react-native app using relay

The screen is changed to
image

It's empty. On the electron devtools of relay devtools standalone version :
image

I just tried to use the standalone version with React dom. It works perfectly.
image

But there is a different structure of logs.
image

If you have any idea of this, please let me know. 🙏

@yomybaby
Copy link
Author

The problem is caused by the port. Relay devtools standalone version uses the port 8097 as default. React devtools also uses that port as default.

The best way to use realy devtools with another port number is flipper-plugin-relay-devtools.

One thing to note is the installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant