Closed ewalti closed 1 year ago
Hello @ewalti , did you ever find a solution to this? I'm experiencing a similar issue, however what I'm experiencing is that the change in the modal refreshes the entire page.
@fobos531 can you show your usage? NiceModal shouldn't break HMR.
I'm working on an older project that uses HMR. I find that if I have a modal open and I make an update to the code, everything else HMRs correctly, but the modal is stuck in time until I close it an re-open it. I tried using the declarative syntax as well to no avail. Is this just an issue with HMR? Would upgrading to fast refresh fix this? Does anyone else have this issue?