prepack/test/react
Dominic Gannaway 47cb48b438 Adds support for abstract length arrays in React reconcilation and serialization (#2571)
Summary:
Release notes: none

This PR fixes issues with the React hoisting and equivalence system mechanics and serialization where previous, there was no support for abstract length arrays. This includes an optimization for when the React serializer outputs ReactElement children that are conditionals with one side being an empty value (in this case, we can use an empty string instead).

Tests attached that focus on the areas covered in this PR.
Pull Request resolved: https://github.com/facebook/prepack/pull/2571

Differential Revision: D10082133

Pulled By: trueadm

fbshipit-source-id: d7de1834e10a5c4b3f35a90b9676ec72c6e797e2
2018-09-27 00:50:24 -07:00
..
__snapshots__ Adds support for abstract length arrays in React reconcilation and serialization (#2571) 2018-09-27 00:50:24 -07:00
AssignSpread Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ClassComponents Fix React branch serialization issues (#2318) 2018-07-25 09:55:21 -07:00
FactoryComponents Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
FBMocks Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -07:00
FirstRenderOnly Reduce React bloat on equivalent objects with similar temporal alias trees (#2193) 2018-07-05 05:09:30 -07:00
FunctionalComponents Adds support for abstract length arrays in React reconcilation and serialization (#2571) 2018-09-27 00:50:24 -07:00
ReactDOM Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ReactNative Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
Reconciliation Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
RenderProps Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ServerRendering Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -07:00
Throw Add basic support for throws in React (#2502) 2018-08-29 18:37:03 -07:00
AssignSpread-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ClassComponents-test.js Fix React branch serialization issues (#2318) 2018-07-25 09:55:21 -07:00
FactoryComponents-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
FBMocks-test.js Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -07:00
FirstRenderOnly-test.js Reduce React bloat on equivalent objects with similar temporal alias trees (#2193) 2018-07-05 05:09:30 -07:00
FunctionalComponents-test.js Adds support for abstract length arrays in React reconcilation and serialization (#2571) 2018-09-27 00:50:24 -07:00
ReactDOM-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ReactNative-test.js Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
Reconciliation-test.js Support React keys in array branches, fixes #2139 (#2157) 2018-07-04 08:23:26 -07:00
RenderProps-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ServerRendering-test.js Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -07:00
setupReactTests.js Add basic support for throws in React (#2502) 2018-08-29 18:37:03 -07:00
Throw-test.js Add basic support for throws in React (#2502) 2018-08-29 18:37:03 -07:00