prepack/test/react
Dominic Gannaway d38f0570c2 Fixes a bunch of serialization bugs
Summary:
Release notes: none

This PR came about from trying to fix https://github.com/facebook/prepack/issues/1771. This PR fails on the tests still, so I need some help getting them resolved.

- `_emitProperty` should account for the fact a `key` can be an `AbstractValue`, thus needs to serialize the value.
- `visitObjectPropertiesWithComputedNames` in the visitor and `_getNestedAbstractValues` in the serializer both need to take into account cases where `alternate` and `consequent` might not be `AbstractValue`s.
Closes https://github.com/facebook/prepack/pull/1781

Differential Revision: D7777483

Pulled By: trueadm

fbshipit-source-id: 1b94489ec9c800a68414031e0bc63b06061fe559
2018-04-26 14:22:19 -07:00
..
class-components Better handling of this with simple React class components 2018-04-25 04:59:14 -07:00
factory-components Change how to signal React components for optimization 2018-03-04 02:24:49 -08:00
first-render-only Fixes an issue with getDerivedStateFromProps 2018-04-26 01:58:46 -07:00
functional-components Support null/undefined config object for React.createElement 2018-04-19 07:08:41 -07:00
mocks Fixes a bunch of serialization bugs 2018-04-26 14:22:19 -07:00
render-props Ensure we apply nested closure effects in the right order 2018-04-19 07:08:40 -07:00