react-native/ReactCommon/fabric/view
Valentin Shergin fcd72bf34a Fabric: Generalizing cloning of YogaLayoutable approach
Summary:
@public
Non-null owner pointer in Yoga node indicates that this node is already being used by some other subtree, so it must be cloned in case of possible (re)layout.
Theoretically, this node must/can be cloned by Yoga right before applying a new layout to this node, but Yoga has a special optimization that uses that fact that Yoga always cloning *all* children of a particular node altogether. This is not true for React; to meet React and Yoga worlds we double check the owner pointer in `addChild` and clone node preliminary if needed.
See also the previous diff for more context.

Reviewed By: mdvacca

Differential Revision: D8709952

fbshipit-source-id: 84ef0faa0f1d9cc9a8136b550cf325bc20508d53
2018-07-15 16:52:25 -07:00
..
accessibility Fabric: Added support of `accessibilityCustomActions` for <View> 2018-06-22 11:57:40 -07:00
root Fabric: Subtle changes that make GCC compiler happy 2018-06-29 12:18:27 -07:00
tests iOS: added placeholder test setup for fabric graphics/uimanager/view targets 2018-03-23 22:22:20 -07:00
yoga Fabric: Generalizing cloning of YogaLayoutable approach 2018-07-15 16:52:25 -07:00
BUCK Fix conditional load usage. 2018-07-14 18:32:20 -07:00
ConcreteViewShadowNode.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewComponentDescriptor.h Fabric: Simplifying usage of `ConcreteComponentDescriptor` 2018-05-17 20:28:50 -07:00
ViewEventEmitter.cpp Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewEventEmitter.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
ViewProps.cpp Fabric: Fixed missed default value in parsing constructor of ViewProps 2018-06-23 19:16:09 -07:00
ViewProps.h Fabric: Embracing non-trivial default values of some Props 2018-06-26 11:48:13 -07:00
ViewShadowNode.cpp Fabric/Text: ConcreteViewShadowNode - base class for all `View`-like shadow nodes 2018-04-26 18:03:06 -07:00
ViewShadowNode.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
conversions.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
primitives.h Fabric: Fixed `Identity Transform` matrix literal 2018-06-18 23:02:41 -07:00
propsConversions.h Fabric: Fixed error in parsing `position` style 2018-06-17 21:46:22 -07:00