Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

fix: remove module from ModuleLoader cache map on promise reject #1025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

longgt
Copy link

@longgt longgt commented May 15, 2019

Short description of what this resolves:

Module loader is trying to cache loaded module in map.
After that, when loading page having lazy loading feature, module loader try to get from map instead of loading new for performance reason.
But when module loader failed to loaded lazy chunk (network probs..etc), it should try it again instead of get from map.
On promise reject call back of module loader, remove module from cache.

Ionic Version: 3.x

Fixes: #530

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants