Closed alanning closed 4 years ago
@filipenevola This changes break app when you use ardatan:webpack package.
Hi @Fanaticys could you open a new issue?
@filipenevola #293. Also I had created issue in ardatan:webpack atmosphere package (https://github.com/ardatan/meteor-webpack/issues/90) several months ago.
Currently adding the 'react-template-helper' package will cause Meteor to send down React, ReactDom, etc. in the initial payload even if the React component in question is not loaded until later (via dynamic import).
Verified using the bundle-visualizer:
Adding
{lazy: true}
to package.js......resolves this issue as explained here.