Before, I could control manually when to download a chunk / component.
This allowed me to have a fast app boot / login screen. Then I could tell manually to fetch the "Private" section. This would result in really smooth UX. Switching to Private section would be instant.
In the 5.x breaking change, we are told to use "Webpack magic comments." But Webpack does not allow to do the above. At least, I could not find it.
We can just set /* webpackPrefetch: true */. We are left with the "good will of the browser" and in my case it's just a step back as the switch to the Private section now is not downloaded by the browser in time and results in worst UX.
Unless there is an alternative that I don't know about, I'd like to see this feature back until Webpack is able to let us load manually a chunk / component, since it allows superior performance in some cases.
Hello @AoDev, I understand your concern. I will consider adding it back, it is true that the use-case is not covered.
馃憤 for this feature 馃憤
Most helpful comment
Hello @AoDev, I understand your concern. I will consider adding it back, it is true that the use-case is not covered.