useHMR throws in SSR when when dev-server hot reloading is enabled
MaxArtemov opened this issue · 0 comments
MaxArtemov commented
Line 21 in 55d5716
In this line,
window
might be changed to globalThis
to support hot reloading in ssr, or add a condition typeof window !== undefined
to keep it only hmr'ble on client