prepack/scripts
Dominic Gannaway 318da6c7f6 Refactor of createElement props/config to fix bugs + use snapshotting
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
2018-06-02 06:34:27 -07:00
..
__snapshots__ Refactor of createElement props/config to fix bugs + use snapshotting 2018-06-02 06:34:27 -07:00
debug-fb-www.js React option better stats 2018-05-30 14:32:13 -07:00
detect_bad_deps.js Aligning serializer with visitor for modified object properties 2018-05-02 10:53:59 -07:00
generate-sourcemaps-test.js Always emit globals safe for strict mode 2018-05-22 09:37:11 -07:00
instrumentor.js Always use fast traversal function when trivially possible. 2017-07-24 16:39:31 -07:00
lint-config.js Upgrade ESlint to support ES2018 2018-05-31 17:04:35 -07:00
multi-runner.js Fix prettier and lint failures 2017-10-23 00:00:47 -07:00
prettier.js Making Prettier a check-in gate 2017-07-07 11:35:32 -07:00
publish-gh-pages.sh Update build command to explictly invoke yarn build 2018-05-22 04:31:58 -07:00
test262-filters.yml Use integration api to run Test262 tests 2017-12-01 17:46:29 -08:00
test262-runner.js Implement const/let pattern declarations (ES6 destructuring) 2018-05-16 10:33:19 -07:00
test262.js Fixes Prettier issues on master 2018-04-19 08:53:06 -07:00
test-error-handler.js Removing --abstractEffectsInAdditionalFunctions option 2018-03-20 15:04:24 -07:00
test-internal-react.js Fix lint errors 2018-05-29 17:48:22 -07:00
test-internal.js Fixes Prettier issues on master 2018-04-19 08:53:06 -07:00
test-node-cli-mode.sh Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
test-react.js Refactor of createElement props/config to fix bugs + use snapshotting 2018-06-02 06:34:27 -07:00
test-residual.js Partial evaluation of throw statements 2018-02-22 12:31:52 -08:00
test-runner.js Ensures all serializer test case output passes linting validation 2018-05-22 15:41:31 -07:00
test-sourcemaps.sh Extract scripts from npm package (#463) 2017-04-26 12:26:18 -07:00
test-std-in.sh fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00