Tuzemec
Tuzemec
SSolidJS
Created by Tuzemec on 4/3/2024 in #support
Context and HMR
Hi, I'm having a small issue with the combination of context consumer and HMR. Example here: https://stackblitz.com/edit/solidjs-templates-wf2avx?file=src%2FContextConsumer.tsx (The same happens locally too) Basically when you edit the ContextConsumer the context value is lost during HMR. Is that something expected? I found an old similar issues on github: https://github.com/solidjs/solid-refresh/issues/14 but I don't see a resolution. Am I missing something?
4 replies