Skip to content

Commit

Permalink
Update link to issue blocking JSX hoisting (#2732)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbesLindesay authored and JohnNilsson committed Aug 9, 2017
1 parent c61f351 commit cebe810
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/babel-preset-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit cebe810

Please sign in to comment.