mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Update link to issue blocking JSX hoisting (#2732)
This commit is contained in:
committed by
Dan Abramov
parent
f495c15578
commit
8442cf313b
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user