Fix React DevTools compatibility for the example app (#3197)

Summary:
Currently, it fails with
```
Uncaught Error: Unsupported Bridge operation "0"
```
Closes #3197

Fixed by following the guide at https://gist.github.com/bvaughn/4bc90775530873fdf8e7ade4a039e579?permalink_comment_id=4056267#flipper

Reviewed By: lblasa

Differential Revision: D34721401

fbshipit-source-id: adc4d46a0dbdd67b86753fe1ac0deb3046113b6d
This commit is contained in:
Andrey Goncharov
2022-03-09 03:22:16 -08:00
committed by Facebook GitHub Bot
parent 35428ca039
commit 5822022321
2 changed files with 7 additions and 4 deletions

View File

@@ -28,5 +28,8 @@
}, },
"relativeDependencies": { "relativeDependencies": {
"react-native-flipper": "../react-native-flipper" "react-native-flipper": "../react-native-flipper"
},
"resolutions": {
"react-devtools-core": "4.23.0"
} }
} }

View File

@@ -5070,10 +5070,10 @@ range-parser@~1.2.1:
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
react-devtools-core@4.19.1: react-devtools-core@4.19.1, react-devtools-core@4.23.0:
version "4.19.1" version "4.23.0"
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.19.1.tgz#bc37c2ef2f48f28c6af4c7292be9dca1b63deace" resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.23.0.tgz#dff9d12202a472ef62632203d6de3877dc6e58be"
integrity sha512-2wJiGffPWK0KggBjVwnTaAk+Z3MSxKInHmdzPTrBh1mAarexsa93Kw+WMX88+XjN+TtYgAiLe9xeTqcO5FfJTw== integrity sha512-KkzneT1LczFtebbTJlvRphIRvzuHLhI9ghfrseVv9ktBs+l2cXy8Svw5U16lzQnwU9okVEcURmGPgH79WWrlaw==
dependencies: dependencies:
shell-quote "^1.6.1" shell-quote "^1.6.1"
ws "^7" ws "^7"