Closed yassinebridi closed 4 years ago
This is the case for Next 9.4 because named components are picked up by react-refresh
, since these are hot-accepted
modules they won't reload and react-refresh
won't know how to reload them.
This will be fixed when we merge https://github.com/developit/nextjs-preact-demo/pull/16
I have used it, and it works for my case, thanks for your help @JoviDeCroock, i will close this for now.
The about components export it's function like this:
but if i try to use it with any of the other export style:
or
the hot reloading doesn't work.