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 }}
Repository navigation
Two identical ExteranlComponents will only render one #122
As the subject says, if you have two identical ExternalComponent on the same page, then, strangely, it will only render one of them. It seems like the interleave promise in v2Effect never resolves on the second component.
To reproduce, copy/duplicate the website-2/TitleComponent into Website1s App.jsx.
Did some more testing. If I load the component without ExternalComponent, then I can render them twice. (I.e. only calling interleave once, not twice as ExternalComponent would.) Can we keep track of modules already loaded and not fetch them again in ExternalComponent?
Activity
mathan78 commentedon Feb 11, 2020
Did some more testing. If I load the component without ExternalComponent, then I can render them twice. (I.e. only calling interleave once, not twice as ExternalComponent would.) Can we keep track of modules already loaded and not fetch them again in ExternalComponent?
ScriptedAlchemy commentedon Feb 15, 2020
Known flaw. This will be fixed with v3 - currently 50% done and will be merged into webpack core