react-native-windows 0.81.28 → 0.81.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,7 +100,7 @@ void RootComponentView::SetFocusedComponent(
100
100
  m_focusedComponent = value;
101
101
  if (focusState == winrt::Microsoft::ReactNative::FocusState::Programmatic) {
102
102
  focusState =
103
- (!m_useKeyboardForProgrammaticFocus || m_focusState == winrt::Microsoft::ReactNative::FocusState::Pointer)
103
+ (!m_useKeyboardForProgrammaticFocus || m_focusState != winrt::Microsoft::ReactNative::FocusState::Keyboard)
104
104
  ? winrt::Microsoft::ReactNative::FocusState::Pointer
105
105
  : winrt::Microsoft::ReactNative::FocusState::Keyboard;
106
106
  }
@@ -813,6 +813,7 @@ void ReactInstanceWin::InitializeWithBridge() noexcept {
813
813
  };
814
814
 
815
815
  devSettings->useWebSocketTurboModule = getBoolProperty(nullptr, L"UseWebSocketTurboModule", false);
816
+ devSettings->hermesSetExplicitMicrotasks = false;
816
817
 
817
818
  std::vector<facebook::react::NativeModuleDescription> cxxModules;
818
819
  auto nmp = std::make_shared<winrt::Microsoft::ReactNative::NativeModulesProvider>();
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.81.28</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.81.30</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>81</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>28</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>30</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>d58e4482057a5e9e6395793b5f7d4c626cf04046</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>5e245a0eb7507ba3c64baa86124322dfe65b3553</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -116,6 +116,8 @@ struct DevSettings {
116
116
  // Enable concurrent mode by installing runtimeScheduler
117
117
  bool useRuntimeScheduler{false};
118
118
 
119
+ bool hermesSetExplicitMicrotasks{true};
120
+
119
121
  // The HostTarget instance for Fusebox
120
122
  facebook::react::jsinspector_modern::HostTarget *inspectorHostTarget;
121
123
  };
@@ -271,8 +271,7 @@ void HermesRuntimeHolder::initRuntime() noexcept {
271
271
  CRASH_ON_ERROR(api.jsr_create_config(&config));
272
272
  CRASH_ON_ERROR(api.hermes_config_enable_default_crash_handler(config, devSettings->enableDefaultCrashHandler));
273
273
  CRASH_ON_ERROR(api.jsr_config_enable_inspector(config, devSettings->useDirectDebugger));
274
- CRASH_ON_ERROR(api.jsr_config_set_explicit_microtasks(
275
- config, facebook::react::ReactNativeFeatureFlags::enableBridgelessArchitecture()));
274
+ CRASH_ON_ERROR(api.jsr_config_set_explicit_microtasks(config, devSettings->hermesSetExplicitMicrotasks));
276
275
 
277
276
  if (m_jsQueue) {
278
277
  HermesTaskRunner::Create(config, m_jsQueue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.81.28",
3
+ "version": "0.81.30",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",