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
{{ message }}
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
If loader1 and loader2 are used to import the same module at approximately the same time, loader2's fetch will not be called:
loader1.import('foo')loader2.import('foo')
As far as I know, loader1 and loader2 should share nothing. Let me know if you agree and I can create a pull request moving importPromises onto _loader or somewhere else. Thanks!
The text was updated successfully, but these errors were encountered:
All loaders should not share
importPromises
.importPromises
, like themodules
registry should be unique to a given loader.This bug exposes itself in the following scenario:
Creating multiple loaders and using them to load the same module, but have different fetch or normalize behavior:
If loader1 and loader2 are used to import the same module at approximately the same time,
loader2
's fetch will not be called:As far as I know,
loader1
andloader2
should share nothing. Let me know if you agree and I can create a pull request movingimportPromises
onto_loader
or somewhere else. Thanks!The text was updated successfully, but these errors were encountered: