mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-19 02:58:08 +03:00
318da6c7f6
Summary: Release notes: fixes a range of spread bugs with ReactElements This is a very important PR for React reconciliation, it fixes many undiscovered bugs and adds a huge amount of test coverage that was previously missing. Whilst testing quite complex cases of JSX spreads in combination with defaultProps on our internal bundle I noticed that there were some bugs appearing, but because the branches where these bugs were appearing were not used on firstRender, it meant we got away with it on our internal tests. We now use snapshotting and properly evaluateForEffects when recovering from `Object.assign` with ReactElement creation of config/props. We also properly use the `temporalAlias` to ensure we reference the correct object. Closes https://github.com/facebook/prepack/pull/2070 Differential Revision: D8243793 Pulled By: trueadm fbshipit-source-id: e8c37aa6750c0a6d41f12249d8872004da3ab3a6 |
||
---|---|---|
.. | ||
__snapshots__ | ||
debug-fb-www.js | ||
detect_bad_deps.js | ||
generate-sourcemaps-test.js | ||
instrumentor.js | ||
lint-config.js | ||
multi-runner.js | ||
prettier.js | ||
publish-gh-pages.sh | ||
test262-filters.yml | ||
test262-runner.js | ||
test262.js | ||
test-error-handler.js | ||
test-internal-react.js | ||
test-internal.js | ||
test-node-cli-mode.sh | ||
test-react.js | ||
test-residual.js | ||
test-runner.js | ||
test-sourcemaps.sh | ||
test-std-in.sh |