mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
de1eaa2655
## Summary This fixes #30659 , the issue was how the state was preserved and needed special cases for the forward and memo, have also added tests related to the same. ## How did you test this change? `yarn test packages/react-refresh/src/__tests__/ReactFresh-test.js` 