dillon1000/react
Commit
Browse files Fix:- Improve HOC support and state preservation in React Refresh (#30660)
## 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` 
Changed paths2 files
First-parent comparisonpackages/react-refresh/src/ReactFreshRuntime.js ModifiedM packages/react-refresh/src/__tests__/ReactFresh-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…