Closed
Description
Some time ago experimental support for React native Windows was introduced and at that moment debuging of both UWP and WPF platforms were added. Since that time no further work were continued.
Currently, React Native Windows has two main implementations: "current" which is C#-made and will be cosidered as deprecated in the future and "vnext" which is targeted to future React Native versions and will be rewritten in C++ to engage new RN architectural features such as JSI (react-native-community/discussions-and-proposals#91).
Here are the list of things that must be done to support newer React Native Windows versions that were made after retesting extension for RNW apps ("react-native-windows": "^0.58.0-vnext.101"
):
- On "Debug UWP" scenario packager throws mutliple
Error: jest-haste-map: Haste module naming collision:
for "vnext" UWP app
Reproduction steps:
- Clone sample app (it was created by following Getting started guide)
git clone git@github.com:ruslan-bikkinin/rnw_app_058.git
cd rnw_app_058
npm i
- Install VS Code, then install "React Native Tools" extension
- Open
rnw_app_058
directory in VS Code - Press "Debug" button
- Select
Attach to packager
debug configuration in drop down list and press play button - Eventually, attach process will stuck.
- Endpoint for bundle has been changed from
localhost:8081/index.bundle?platform=windows
toApp.windows.bundle?platform=uwp
(Issue tracked here on RNW) - The debugger cannot attach to the application in launch scenario immediately after building the application (possibly connected with the fact that RNW application don't waits the debugger to attach and shows errors on application start up because debugger is not attached)
-
The RNW application generates app.bundle instead of index.bundle, this causes a prewarming issues -
Couldn't run "current" UWP app due to severalSupport for "current" is going away. Is there any documentation about this?Couldn't find source file
errors while runningreact-native run-windows
(Need help from RNW team) -
Couldn't add WPF platform on new RNW version because looks like it's not supported yet (Need clarifications from RNW team)WPF support is going to be dropped off. Is there any documentation about this? -
"Attach to packager" scenario doesn't work (Need investigation)
Reproduction steps:
- Clone sample app (it was created by following Getting started guide)
git clone git@github.com:ruslan-bikkinin/rnw_app_058.git
cd rnw_app_058
npm i
- Start app
react-native run-windows
- Wait until Chrome
debugger-ui
tab is opened and app is loaded, then close Chrome tab - Install VS Code, then install "React Native Tools" extension
- Open
rnw_app_058
directory in VS Code - Press "Debug" button
- Select
Debug UWP
debug configuration in drop down list and press play button - Eventually, you will see errors in
Debug Console
window
- "Show Dev Menu", "Reload app" command palate commands aren't supported. Once issue 2276 is fixed we can fix this.