Closed
Description
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 the proxyComponent
.
Therefore it does not register itself in the Registry
. Therefore, when navigating away and back in sapper, the Registry
doesn't have a clue whether the component is mounted and doesn't _rerender
the component
How to reproduce
On the sapper-template
- Go to
/about
- Change something, see it get hot-loaded
- Go to
home
- Go back to
/about
- Now change something... it won't get hot-loaded
Metadata
Metadata
Assignees
Labels
No labels