react-native-windows 0.0.0-canary.549 → 0.0.0-canary.550

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.
@@ -15,6 +15,7 @@
15
15
  #include <nativemodules.h>
16
16
  #include <map>
17
17
  #include <memory>
18
+ #include <unordered_map>
18
19
  #include <vector>
19
20
 
20
21
  namespace Microsoft::ReactNative {
@@ -112,8 +113,8 @@ class NativeUIManager final : public INativeUIManager {
112
113
  YGConfigRef m_yogaConfig;
113
114
  bool m_inBatch = false;
114
115
 
115
- std::map<int64_t, YogaNodePtr> m_tagsToYogaNodes;
116
- std::map<int64_t, std::unique_ptr<YogaContext>> m_tagsToYogaContext;
116
+ std::unordered_map<int64_t, YogaNodePtr> m_tagsToYogaNodes;
117
+ std::unordered_map<int64_t, std::unique_ptr<YogaContext>> m_tagsToYogaContext;
117
118
  std::vector<xaml::FrameworkElement::SizeChanged_revoker> m_sizeChangedVector;
118
119
  std::vector<std::function<void()>> m_batchCompletedCallbacks;
119
120
  std::vector<int64_t> m_extraLayoutNodes;
@@ -4,7 +4,7 @@
4
4
  #pragma once
5
5
  #include <Views/PaperShadowNode.h>
6
6
  #include <functional/functorref.h>
7
- #include <map>
7
+ #include <unordered_map>
8
8
 
9
9
  namespace Microsoft::ReactNative {
10
10
 
@@ -36,7 +36,7 @@ struct ShadowNodeRegistry {
36
36
 
37
37
  private:
38
38
  std::unordered_set<int64_t> m_roots;
39
- std::map<int64_t, std::unique_ptr<ShadowNode, ShadowNodeDeleter>> m_allNodes;
39
+ std::unordered_map<int64_t, std::unique_ptr<ShadowNode, ShadowNodeDeleter>> m_allNodes;
40
40
  };
41
41
 
42
42
  } // namespace Microsoft::ReactNative
@@ -10,7 +10,7 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.0.0-canary.549</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.0.0-canary.550</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
16
16
  <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.0.0-canary.549",
3
+ "version": "0.0.0-canary.550",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",