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 gaearon committed Jul 6, 2017
1 parent f495c15 commit 8442cf3
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 8442cf3

Please sign in to comment.