solidjs / solid-refresh

MIT License
86 stars 18 forks source link

Using `useContext` in component breaks hot reloading. #42

Closed Septias closed 11 months ago

Septias commented 1 year ago

Describe the bug

When I added useContext to my component, I got the following error on hot-reload:

image

Your Example Website or App

Part of my pr: https://github.com/webxdc/store/pull/158

Steps to Reproduce the Bug or Issue

Expected behavior

No error

Screenshots or Videos

No response

Platform

OS: Manjaro Linux x86_64 Kernel: 6.1.31-2-MANJARO

Additional context

No response

ryansolid commented 1 year ago

I'm going to move this to solid-refresh so the right people look at it.

lxsmnsyc commented 1 year ago

Can you link it to the file of the code where it happens

ryansolid commented 11 months ago

Closing as stale