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

always use _mount, even if top-level #1201

Closed
Rich-Harris opened this issue Mar 4, 2018 · 0 comments · Fixed by #1210
Closed

always use _mount, even if top-level #1201

Rich-Harris opened this issue Mar 4, 2018 · 0 comments · Fixed by #1210

Comments

@Rich-Harris
Copy link
Member

Using this._mount(target, anchor) instead of this._fragment.m(target, anchor) would fix sveltejs/svelte-loader#43. Using a private _mount method like this is arguably a bit of a hack, and we could discuss whether we need to make it a public method for the sake of things like this, but for now it's an easy way to get granular HMR working.

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 a pull request may close this issue.

1 participant