Skip to content

Commit b0f3052

Browse files
ForbesLindesaymorgs32
authored andcommitted
Update link to issue blocking JSX hoisting (facebook#2732)
1 parent ec2f319 commit b0f3052

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/babel-preset-react-app/index.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ if (env === 'test') {
129129

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

0 commit comments

Comments
 (0)