mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-11 14:46:37 +03:00
47cb48b438
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 |
||
---|---|---|
.. | ||
__snapshots__ | ||
AssignSpread | ||
ClassComponents | ||
FactoryComponents | ||
FBMocks | ||
FirstRenderOnly | ||
FunctionalComponents | ||
ReactDOM | ||
ReactNative | ||
Reconciliation | ||
RenderProps | ||
ServerRendering | ||
Throw | ||
AssignSpread-test.js | ||
ClassComponents-test.js | ||
FactoryComponents-test.js | ||
FBMocks-test.js | ||
FirstRenderOnly-test.js | ||
FunctionalComponents-test.js | ||
ReactDOM-test.js | ||
ReactNative-test.js | ||
Reconciliation-test.js | ||
RenderProps-test.js | ||
ServerRendering-test.js | ||
setupReactTests.js | ||
Throw-test.js |