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
Question: I can't use react devtools #653
Comments
Can you give a bit more context? The plugin can at the moment (afaik) only connect to DevTools v4 based applications. What are you connecting to? React Native? You might need to be on a newer version to get support from this plugin. |
Yes I connected to react-native on flipper. I tried it on two projects, but both didn't work.(android flipper) First Project:
Second Project
|
@mweststrate the same for my project. React devtools are not working, the error message is the same as on screenshot, I tried installing Flipper Version 0.31.1 (0.31.1) |
Our next weeks release will contain a bunch of improvements in the react-devtools setup. But if you have a small test repo I can test it against, I can check if it solves your specific case. |
Unfortunately, my current project is not open source. Package versions: |
@mweststrate I've just set up a project with Test repo: |
We just released Flipper 0.31.2, this should have the React devtools working more stable against RN 0.61 |
Apologies, missed this one! So far thought the issue was the React version, but it is about the React Native version: https://reactjs.org/blog/2019/08/15/new-react-devtools.html#which-versions-of-react-are-supported. React Native 0.62 is around the corner though, so hopefully this will be fixed soon! (currently we cannot ship a separate version of the plugin for older versions, we are decoupling that as well atm, so that that will be possible in the future) |
@mweststrate ls that possible to define a custom version of react-devtools? For some projects, it may be not so quick and easy to migrate React Native version |
@sanohin just tried, and that is quite easy to achieve if you change |
Closing as a workaround is available and a fix is in the release pipeline. Let us know if the work around doesn't suffice |
Thank you for your help. Where does 'src/plugins/reactdevtools' mean? |
Apologies, that was assuming you run Flipper from source (clone this repo, |
Published plugin for those on older version of React Native -> #945 |
hello
i want to use react devtools plugin, but it is not working
Env:
Issue Image:
I tried
But i got same problem.
how can i solve the issue?
The text was updated successfully, but these errors were encountered: