File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/playground/windows/playground-composition Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ struct WindowData {
88
88
winrt::Microsoft::ReactNative::ReactInstanceSettings InstanceSettings () noexcept {
89
89
if (!m_instanceSettings) {
90
90
m_instanceSettings = winrt::Microsoft::ReactNative::ReactInstanceSettings ();
91
+ m_instanceSettings.UseDirectDebugger (true );
91
92
m_instanceSettings.UseFastRefresh (true );
92
93
}
93
94
@@ -238,6 +239,15 @@ struct WindowData {
238
239
}
239
240
}
240
241
242
+ /*
243
+ * Uncomment this to run using the bridge. This isn't publicly exposed, and isn't a mode that we will
244
+ * support (Fabric will always be bridgeless for windows.) But it can be useful for internal bug diagnosis.
245
+ */
246
+ /*
247
+ winrt::Microsoft::ReactNative::ReactPropertyBag{host.InstanceSettings().Properties()}.Set(
248
+ winrt::Microsoft::ReactNative::ReactPropertyId<bool>(L"ReactNative", L"IsBridgeless"), true);
249
+ */
250
+
241
251
// Nudge the ReactNativeHost to create the instance and wrapping context
242
252
host.ReloadInstance ();
243
253
You can’t perform that action at this time.
0 commit comments