mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-19 02:58:08 +03:00
87591341b1
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 |
||
---|---|---|
.. | ||
__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 |