prepack/test/react
Dominic Gannaway 0e52d02190 Adds React pe-functional-components benchmark and some React SSR changes (#2560)
Summary:
Release notes: none

All these changes are only internal changes related to React.

This PR adds the `pe-functional-components` benchmark as tests to the React reconciler. The test was taken from: https://github.com/facebook/react/tree/master/scripts/bench/benchmarks/pe-functional-components.

In order to make the server side renderer test pass, a few TODOs had to be filled in (logic was missing) and the JSON logic has to be updated to account for empty strings in children that the compiler merges.
Pull Request resolved: https://github.com/facebook/prepack/pull/2560

Differential Revision: D10008375

Pulled By: trueadm

fbshipit-source-id: 3b39a3e6387e23e17532a2343bd84ebebb7ee9cd
2018-09-24 03:56:52 -07:00
..
__snapshots__ Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -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 Improve evaluation of abstract conditionals (#2503) 2018-09-01 02:40:03 -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 Improve evaluation of abstract conditionals (#2503) 2018-09-01 02:40:03 -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