Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (module-loader): remove module from ModuleLoader cache map on promise reject #13663

Closed
wants to merge 238 commits into from

Conversation

longgt
Copy link

@longgt longgt commented Dec 15, 2017

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: #13639

brandyscarney and others added 30 commits June 12, 2017 13:51
When `Tabs` are nested within each other, the highlight can get
misaligned. This prevents that by ensuring the affected
`.tab-highlight` is a direct child of the targeted `Tabs`.
…tabs

* wip

* wip

* progress

* wippy skippy

* getting there

* all tests passing except goBack

* unit tests pass again boi

* goBack tests pass

* great success

* the good stuff
perrygovier and others added 22 commits November 2, 2017 09:55
* chore(dependencies): update to ng5 rc

* chore(dependencies): update for ng 5

* chore(build): remove closure support

* chore(dependencies): fix missing angular/common value
…r version info within the context of the ionic repo
* chore(package): bump rxjs to 5.5

* Update package.json

* Update package.json
@codinronan
Copy link

I'd like to see if this can get merged, my metrics show this is happening to every 1 out of 20-30 users which is ALOT more than I would have expected. I'm honestly shocked it can happen at all, network is not necessary to load these chunks since they are already on the device right? So I'm not sure what the root cause is, but I'd like to see if this can help reduce the frequency.

@longgt
Copy link
Author

longgt commented Jan 24, 2018

Ionic Team announced that they are focusing on v4 and there is no any more update will be released on v3.
If you need this pull, fork and merge by yourself instead.

@Ionitron
Copy link
Collaborator

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!

@Ionitron Ionitron closed this Mar 12, 2018
@BAWES
Copy link

BAWES commented Jul 14, 2018

@longgt Does this still work? Any repo where we could pull this to solve our issues?

@longgt
Copy link
Author

longgt commented Jul 16, 2018

@BAWES

You can get it from https://github.com/longgt/ionic, longgt/iss13639 branch.
longgt@c834138

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

Successfully merging this pull request may close these issues.