Files
react-native/ReactCommon
Valentin SherginandFacebook GitHub Bot 7cc791b978 Fabric: ComponentDescriptor::cloneProps() now never returns the base props objects
Summary:
The diff changes how the `empty raw props` optimization works in `ComponentDescriptor::cloneProps()`. Now it only fires only when the base `props` object is null, which is practically all production cases we have (and care about). (I tried, in a normal run there were no cases where the empty raw props were passed with non-null props.) From the other side, the old behavior that may return the same props objects previously several times created bugs and practically unexpected results and practically disallowed to clone props objects easily.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: JoshuaGross

Differential Revision: D21110608

fbshipit-source-id: 884807cd8e9c5c3e6cc1c9e4c1f0227259cc21fb
2020-04-20 00:19:56 -07:00
..
2020-04-03 09:47:42 -07:00
2020-04-03 09:47:42 -07:00
2020-04-16 16:34:41 -07:00
2020-04-16 13:43:07 -07:00
2020-02-28 12:46:49 -08:00
2020-02-28 12:46:49 -08:00
2020-04-07 19:07:19 -07:00