Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Context and HMR - SolidJS
S
SolidJS
•
2y ago
•
3 replies
Tuzemec
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
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
?
StackBlitz
Stamen Georgiev
Solidjs - Templates (forked) - StackBlitz
Vite
+ solid templates
GitHub
Hot reload is not working! · Issue #14 · solidjs/solid-refresh
Describe the bug When i change some code in App
.jsx
, I need to manually refresh the browser page
. I don
't know if this is expected or not
? But I would really like if the browser page refresh au
.
.
.
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Context lost on HMR
S
SolidJS / support
2y ago
hmr and WebSockets
S
SolidJS / support
3y ago
hmr issues
S
SolidJS / support
2y ago