You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While we officially support dynamic import() proposal, it is reported to have significant build performance issues (#2172 (comment), webpack/webpack#4636).
We are going to de-emphasize their support in the documentation until Webpack fixes them. I will disable the require.ensure deprecation, and will track re-enabling it in this issue.
Setting this up as needing contributions. Specifically, we need somebody to help Webpack folks in webpack/webpack#4636 reliably reproduce the performance issue.
Activity
gaearon commentedon May 16, 2017
Setting this up as needing contributions. Specifically, we need somebody to help Webpack folks in webpack/webpack#4636 reliably reproduce the performance issue.
ingro commentedon May 24, 2017
Release 2.6.0. of webpack improved the handling of
import, maybe the dependency could be updated inreact-scriptstoo?gaearon commentedon May 24, 2017
Yea, we plan to bump to 2.6.0. Want to send a PR?
ingro commentedon May 24, 2017
Sure, that seems an easy enough PR to start with :P
gaearon commentedon May 27, 2017
react-scripts@1.0.7now use Webpack 2 which supports import hints: webpack/webpack#4807 (comment).Please give it a try!