react-native/ReactCommon
Valentin Shergin caaea38ad9 Fabric: Using unique_ptr for storing YGNode inside YogaLayoutableShadowNode
Summary:
I recently realized (Thanks David!) that we should not use `shared_ptr` for storing YGNode*
because ShadowNode does not share ownership of the Yoga node with anybody.
So the lifecycle of shadow node and yoga node must be synchronized (this is already the case but changing to unique_ptr makes this explicit and a bit more performant).

Reviewed By: fkgozali

Differential Revision: D8030417

fbshipit-source-id: c7f85ea309598d2a5ebfed55b1d182d3fe1336ae
2018-05-18 20:34:18 -07:00
..
cxxreact Fix BUCK bugs which were breaking tests after refactoring 2018-05-09 22:12:03 -07:00
fabric Fabric: Using unique_ptr for storing YGNode inside YogaLayoutableShadowNode 2018-05-18 20:34:18 -07:00
jschelpers Expose new methods to Custom/System JSC 2018-05-14 18:58:05 -07:00
jsinspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
microprofiler Use -fdata-sections in mode/opt 2018-03-12 06:34:59 -07:00
privatedata Skylarkify RN defs. 2018-02-08 09:47:28 -08:00
yoga [yoga re-add assertion to check for owner reference before adding child. 2018-04-04 10:54:35 -07:00