preactjs/prefresh

Page does not reload when using preact/comp

untlsn-old opened this issue · 2 comments

Everything is fine when using preact. But when you use preact/comp in any configuration, it just doesn't work.
The console log 'update hmr', but the page is still the same

All right, sorry for the delay, I'm going to try to free up some time to create a test suite where we test preact/compat imports. Generally we assume that this is enumerated under React rather than an actual build target so this is a bit of a new case for me. I'll see what I can do

Been trying to reproduce this but it always seems to work, the caveat for me was that it duplicated Preact unless I did https://github.com/preactjs/prefresh/pull/449/files#diff-e840e20ff2af560ec94a0d492a4c7f658296f3d6abfee7338f991c034512741eR12

Closing for now but feel free to reopen if you have more info on how to reproduce