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
Looking at the output of npm analyze-bundles reveals that the react-modal module is bundled inside the vendors~build chunk. Is it really needed on the initial load? Probably not. Find where the react-modal module is synchronously required and modify these modals to be async-loaded at the time when they need to be displayed.
Learning objectives: understand the module dependency graph and how to move code out of the initial load path by async loading it.
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.
This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.
Looking at the output of
npm analyze-bundles
reveals that thereact-modal
module is bundled inside thevendors~build
chunk. Is it really needed on the initial load? Probably not. Find where thereact-modal
module is synchronously required and modify these modals to be async-loaded at the time when they need to be displayed.Learning objectives: understand the module dependency graph and how to move code out of the initial load path by async loading it.
The text was updated successfully, but these errors were encountered: