prepack/scripts
Dominic Gannaway 0d762f7ab5 Add lazy ReactElement creation when in conditionals (#2107)
Summary:
Release notes: none

This is a long standing fix, where ReactElements should be created lazily but are currently not done so. To do this, we now use the `temporalAlias` code paths on lazy branched ReactElements to ensure they are emitted as temporal entries when we "branch" (i.e. conditional) and have many possible routes where ReactElements may or may not be created.

Fixes https://github.com/facebook/prepack/issues/2113. Depends on https://github.com/facebook/prepack/pull/2112
Closes https://github.com/facebook/prepack/pull/2107

Differential Revision: D8383327

Pulled By: trueadm

fbshipit-source-id: bbcff45ddd07406b18bcddce2de0279fb52da1a1
2018-06-12 12:39:43 -07:00
..
__snapshots__ Add lazy ReactElement creation when in conditionals (#2107) 2018-06-12 12:39:43 -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 Prettier 1.13.4 fixes 2018-06-06 12:49:59 -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 Fix os.cpus() and worker count in prepack test runner 2018-06-11 00:56:05 -07:00
test262.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -07:00
test-error-handler.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -07:00
test-internal-react.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -07:00
test-internal.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -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 Add lazy ReactElement creation when in conditionals (#2107) 2018-06-12 12:39:43 -07:00
test-residual.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -07:00
test-runner.js Prettier 1.13.4 fixes 2018-06-06 12:49:59 -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