-
Notifications
You must be signed in to change notification settings - Fork 1
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
Self-mounting components don't call _mount from ProxyComponent #10
Comments
Right, misdiagnosis of the root cause. Although the It fails because when Still trying to work out the cause, but it seems like somehow webpack returns the "un-heated" component without the proxy wrapper when a chunk is loaded lazily |
the |
fixed here |
Related to sveltejs/svelte-loader#43
and sveltejs/svelte#1201
when a top-level component calls
this._mount()
it's calling_mount
from the internal instance.. and not from theproxyComponent
.Therefore it does not register itself in the
Registry
. Therefore, when navigating away and back in sapper, theRegistry
doesn't have a clue whether the component is mounted and doesn't_rerender
the componentHow to reproduce
On the sapper-template
/about
home
/about
The text was updated successfully, but these errors were encountered: