File tree Expand file tree Collapse file tree 3 files changed +493
-643
lines changed Expand file tree Collapse file tree 3 files changed +493
-643
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,9 @@ namespace margelo::nitro::cssnitro {
190190 auto binding = facebook::react::UIManagerBinding::getBinding (runtime);
191191 if (!binding) return ;
192192 auto &uiManager = binding->getUIManager ();
193- uiManager.updateShadowTree (updates);
193+ // Make a copy since updateShadowTree takes an rvalue reference
194+ UpdatesMap updatesCopy = updates;
195+ uiManager.updateShadowTree (std::move (updatesCopy));
194196 }
195197
196198} // namespace margelo::nitro::cssnitro
Original file line number Diff line number Diff line change 1212 "dependencies" : {
1313 "@react-native/new-app-screen" : " 0.81.1" ,
1414 "react" : " 19.1.0" ,
15- "react-native" : " 0.81.1 " ,
16- "react-native-nitro-modules" : " ^0.28 .1" ,
15+ "react-native" : " 0.82.0 " ,
16+ "react-native-nitro-modules" : " ^0.29 .1" ,
1717 "react-native-reanimated" : " ^4.1.3" ,
1818 "react-native-worklets" : " ^0.6.1"
1919 },
You can’t perform that action at this time.
0 commit comments