Skip to content

Commit 15f11ed

Browse files
Update react-devtools-core to v4.13 (#610)
* Fix profiler bug * Fix profiler bug * Update troubleshooting.md * Update react-devtools-integration.md Co-authored-by: Jhen-Jie Hong <iainst0409@gmail.com>
1 parent 97a2cd4 commit 15f11ed

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"adbkit": "^2.11.0",
1515
"apollo-client-devtools": "^2.3.5",
1616
"electron-store": "^1.2.0",
17-
"react-devtools-core": "~4.12.4"
17+
"react-devtools-core": "~4.13.3"
1818
}
1919
}

docs/react-devtools-integration.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ For Android, we have the built-in `adb` util and it will reverse the port automa
1414

1515
Refer to [`Debugger Integration`](debugger-integration.md#debugging-tips).
1616

17+
## __*Question*__: I got `Unsupported` meesage from React DevTools
18+
19+
If you're using React Native version >= 0.62 and keep React Native Debugger as the latest version, here is what you can do:
20+
21+
In your app project, upgrade `react-devtools-core` dependency to match the React DevTools version:
22+
23+
- OPTION 1: Just `yarn upgrade react-native`
24+
- OPTION 2: Delete `react-devtools-core` block in yarn.lock, then re-install dependencies by `yarn`
25+
1726
## Other documentations
1827

1928
- [Getting Started](getting-started.md)

docs/troubleshooting.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Troubleshooting
22

3+
## I got `Unsupported` meesage from React DevTools
4+
5+
If you're using React Native version >= 0.62 and keep React Native Debugger as the latest version, here is what you can do:
6+
7+
In your app project, upgrade `react-devtools-core` dependency to match the React DevTools version:
8+
9+
- OPTION 1: Just `yarn upgrade react-native`
10+
- OPTION 2: Delete `react-devtools-core` block in yarn.lock, then re-install dependencies by `yarn`
11+
312
## Network fetch got issue like [`SyntaxError: Unexpected token o in JSON at position 1`](https://github.com/jhen0409/react-native-debugger/issues/382#issuecomment-544226529) if Network Inspect enabled
413

514
This may be caused by some library used / made fetch polyfills, it may used `Blob` but RNDebugger does not support it. If you got this issue, try to use global `fetch` / `XMLHttpRequest` instead, or try [#382#issuecomment-544226529](https://github.com/jhen0409/react-native-debugger/issues/382#issuecomment-544226529).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"prop-types": "^15.6.1",
8888
"react": "^15.6.1",
8989
"react-dev-utils": "^4.2.1",
90-
"react-devtools-core": "~4.12.4",
90+
"react-devtools-core": "~4.13.3",
9191
"react-dom": "^15.6.1",
9292
"react-redux": "^5.0.7",
9393
"redux": "^3.7.2",

0 commit comments

Comments
 (0)