Replies: 1 comment 9 replies
-
You're right, I can confirm. This is a bug in the release that went out last night, you can use the previous version of Snowpack instead by installing Snowpack "~2.15.0", until we can get it fixed later today. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproduction steps
Open page in browser.
Open
src/App.svelte
in editor, edit something in CSS inside.Look at the browser, it reloaded it by HMR, but all styling is gone, enormous logo takes whole page.
Refresh, it works now, but it defeats the whole purpose of HMR.
Immediate reason is that HMR changed class of generated element (in my case
class="svelte-10cj3ej"
toclass="svelte-1vxtkuu"
),but CSS did not hot reload, and there's some CSS in
<head>
that corresponds to old CSS.I have no idea which component or config is responsible for this.
Beta Was this translation helpful? Give feedback.
All reactions