prepack/scripts
Dominic Gannaway 87591341b1 Add __doNotRender flag to React reconcilation
Summary:
Release notes: opt out of optimizing a React component in a tree with `__doNotRender`

This PR makes it possible to opt out of a single component in a React component tree by detecting a `__doNotRender` flag. For example:

```js
function MyComponent(props) {
   ...
}

MyComponent.__doNotRender = true;

class MyComponent extends React.Component {
  render() {
    ...
  }
}

MyComponent.__doNotRender = true;
```
Closes https://github.com/facebook/prepack/pull/2004

Differential Revision: D8123009

Pulled By: trueadm

fbshipit-source-id: d5fc54aea2ea1253e260e41c1fb7d4f2d4717ffd
2018-05-23 11:53:46 -07:00
..
__snapshots__ Add __doNotRender flag to React reconcilation 2018-05-23 11:53:46 -07:00
debug-fb-www.js Ensures all serializer test case output passes linting validation 2018-05-22 15:41:31 -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 Ensures all serializer test case output passes linting validation 2018-05-22 15:41:31 -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 Add React-related internal regression test to Prepack 2018-04-23 09:09:00 -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 Add __doNotRender flag to React reconcilation 2018-05-23 11:53:46 -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