Skip to content

Commit

Permalink
Diff C++ props for Android consumption
Browse files Browse the repository at this point in the history
Summary:
Creates a mapbuffer from two ViewProp objects. This MapBuffer is used later instead of bag of props from JS to set the properties with platform ViewManager.

Changelog: [Internal] - Added MapBuffer diffing for ViewProps

Reviewed By: mdvacca

Differential Revision: D33735246

fbshipit-source-id: 10ad46251ea71aa844586624c888f5223fa44e57
  • Loading branch information
Andrei Shikov authored and facebook-github-bot committed Feb 22, 2022
1 parent da72b5d commit 733f228
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ rn_xplat_cxx_library(
react_native_xplat_target("react/renderer/mapbuffer:mapbuffer"),
react_native_xplat_target("react/config:config"),
react_native_xplat_target("react/renderer/animations:animations"),
react_native_xplat_target("react/renderer/graphics:graphics"),
react_native_xplat_target("react/renderer/uimanager:uimanager"),
react_native_xplat_target("react/renderer/scheduler:scheduler"),
react_native_xplat_target("react/renderer/mounting:mounting"),
Expand All @@ -48,6 +49,7 @@ rn_xplat_cxx_library(
react_native_xplat_target("react/renderer/components/switch:androidswitch"),
react_native_xplat_target("react/renderer/components/progressbar:androidprogressbar"),
react_native_xplat_target("react/renderer/components/text:text"),
react_native_xplat_target("react/renderer/components/view:view"),
react_native_xplat_target("react/renderer/components/textinput:androidtextinput"),
],
)
Loading

0 comments on commit 733f228

Please sign in to comment.