Update link to issue blocking JSX hoisting (#2732)

This commit is contained in:
Forbes Lindesay
2017-07-06 16:47:41 +01:00
committed by Dan Abramov
parent f495c15578
commit 8442cf313b

View File

@@ -129,10 +129,7 @@ if (env === 'test') {
if (env === 'production') {
// Optimization: hoist JSX that never changes out of render()
// Disabled because of issues:
// * https://github.com/facebookincubator/create-react-app/issues/525
// * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/
// * https://github.com/babel/babel/issues/4516
// Disabled because of issues: https://github.com/facebookincubator/create-react-app/issues/553
// TODO: Enable again when these issues are resolved.
// plugins.push.apply(plugins, [
// require.resolve('babel-plugin-transform-react-constant-elements')