Ask questions"DevTools v4 is incompatible with this version of React" with React Native & latest version of React

<!-- Note: if the issue is about documentation or the website, please file it at: -->

Do you want to request a feature or report a bug? Bug What is the current behavior? After starting react-devtools, I get the following error message:

DevTools v4 is incompatible with this version of React
Either upgrade React or install React DevTools v3:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle ( or CodeSandbox ( example below:

  • Use expo cli to initialize an expo app
  • run yarn add react@latest to ensure the most recent version of React is installed (currently v16.11.0)
  • run yarn add react-devtools to install react-devtools
  • run yarn start to start the app
  • run npx react-devtools to open react-devtools

What is the expected behavior? react-devtools should work with React Native and the latest version of React

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? React 16.11.0 React Native 0.59.3 Fedora 30


Answer questions a-c-sreedhar-reddy

@umairrafiq1133 I downgraded but when I run react-devtools I get

───────────────────────────────────────────╮ │ │ │ Update available 3.6.3 → 4.2.0 │ │ Run npm i -g react-devtools to update │ │


Related questions

Disable react strict mode on third party libraries hot 6
Warning: Unknown DOM property for. Did you mean htmlFor? hot 6
TypeError: Object(...) is not a function
Refs - &#34;object is not extensible&#34;
React@16.9 block `javascript:void(0);`
Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table> hot 3
[ESLint] Feedback for 'exhaustive-deps' lint rule hot 3
React custom hook "Should have a queue. This is likely a bug in React" error message. hot 2
useEffect causes 'callback is not a function' exception hot 2
DevTools: Updating state or props in devtools does not trigger component update. hot 2
Infinite loop in useEffect using blank object or array hot 2
Error on unit test : Cannot read property 'Symbol(Symbol.iterator)' of undefined hot 2
False-positive security precaution warning (`javascript:` URLs) hot 2
Hooks API - hook breaks when exported from module hot 2
Function components do not support contextType. hot 2
Github User Rank List