easy-peasy: easy-peasy no longer working properly with Fast Refresh
Fast refresh is not working properly with easy-peasy. I’ve reproduced the issue in this codesandbox:

I’m not sure what caused this, as it has been working properly previously.
Current versions:
- easy-peasy@5.0.4
- react@17.0.2
- react-scripts@4.0.3
- react-refresh@0.11.0
One workaround, is to use a // @refresh reset comment - but this is quite tedious.
Maybe related to this issue as well: https://github.com/ctrlplusb/easy-peasy/issues/477
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 19 (4 by maintainers)
@ctrlplusb
easy-peasy@5.1.0-alpha.3is working great! 🎉 Here is the updated sandbox.The sandbox uses
react-scripts, but I’ve also tested it with react withvite&@vitejs/plugin-react.~1400 unit testst still passing 👍
My guess is, that this issue is caused by some peer dependency upgrade related to these packages. I’ll try (as soon as I get some spare time) to go backwards through our revisions to see when this stopped working.