Skip to content

Conversation

@chrisfromwork
Copy link
Contributor

@chrisfromwork chrisfromwork commented Mar 12, 2021

react-native-windows 0.64.0-preview.15 contains jsi runtime fixes that allow fast refresh to work for UWP scenarios. This change updates package dependencies to 0.64.0-preview.15. UWP app instance settings have also been updated to use fast refresh for debug builds.

note: there are still issues around fast refresh when in an immersive xr session

#else
JavaScriptMainModuleName(L"index");
InstanceSettings().UseWebDebugger(true);
InstanceSettings().UseWebDebugger(false); // BabylonReactNative accesses the jsi runtime, which isn't possible with the web debugger
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On other platforms, web debugger (remote debugging) is enabled/disabled dynamically from the app's debug/developer menu. Is this different on Windows? It would be annoying if all UWP RN apps have to change this configuration in order to use Babylon React Native.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it sounds like it may be possible to set this dynamically, but i'm still trying to track down documentation on how. For the time being, this hardcoding of the ip address is a valid workaround/has been allowing me to test things on hololens 2

@chrisfromwork chrisfromwork merged commit f858dad into BabylonJS:master Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants