react-native/React/Fabric
Valentin Shergin e906d4cdc9 Simplifying child nodes management in YogaLayoutableShadowNode
Summary:
@public

This diff consists of many interdependent changes which support one simple idea: YogaLayoutableShadowNode is now using YGNode children to iterate on them (it previously relied on `ShadowNode::getChildren()`). All other changes are just an unavoidable consequence of that. Hence we don't need to filter child nodes every single time when we do layout anymore! The logic around `clone callback` is also drastically simpler now.
The new approach also implies that `LayoutableShadowNode` and `YogaLayoutableShadowNode` don't use `shared_ptr`s to refer to ShadowNode objects because new relationship does not imply ownership. No more `SharedShadowNode` objects in those two classes.

Reviewed By: mdvacca

Differential Revision: D8796159

fbshipit-source-id: 6f52f92d1826f3eb13b2f8a132c3ea77de155d82
2018-07-17 22:53:56 -07:00
..
Mounting Simplifying child nodes management in YogaLayoutableShadowNode 2018-07-17 22:53:56 -07:00
Surface Fabric: `pointScaleFactor` is now part of LayoutContext and LayoutMetrics 2018-06-22 07:32:49 -07:00
Utils Fabric: RCTImageComponentView 2018-06-22 07:32:50 -07:00
RCTConversions.h Fabric: `view` module was moved to `components` subdirectory 2018-07-15 16:52:26 -07:00
RCTPrimitives.h Fabric: RCTComponentViewProtocol 2018-04-10 17:15:07 -07:00
RCTScheduler.h Fabric: Trivial implementation of prelumiary view allocation on iOS 2018-06-29 20:02:38 -07:00
RCTScheduler.mm Fabric: Enhancements in ContextContainer 2018-07-15 16:52:26 -07:00
RCTSurfacePresenter.h ios: expose surfaceForRootTag: up the chain 2018-06-14 20:46:34 -07:00
RCTSurfacePresenter.mm Fabric: Trivial implementation of prelumiary view allocation on iOS 2018-06-29 20:02:38 -07:00
RCTSurfaceRegistry.h Fabric: Introducing RCTSurfaceRegistry 2018-04-10 17:15:08 -07:00
RCTSurfaceRegistry.mm Fabric: Introducing RCTSurfaceRegistry 2018-04-10 17:15:08 -07:00
RCTSurfaceTouchHandler.h Fabric: Introducing RCTSurfaceTouchHandler 2018-06-08 20:31:41 -07:00
RCTSurfaceTouchHandler.mm Fabric: `view` module was moved to `components` subdirectory 2018-07-15 16:52:26 -07:00