Hi guys, thanks for your efforts
I have found a bug where forwardRef and memo crashes website completely
Here is a minimal repo:
https://github.com/TrejGun/react-refresh-bug
Note: there are 3 components inside
Simple - works fine
ForwardRef - fails
Workaround - shows that forwardRef potentially can work
Please take a look at this.
I have also created the same bug in Jack-Works/react-refresh-transformer#9