dillon1000/react
Commit
Browse files [fresh] Add failing test for useMemoCache reset case
During local development it's common to add or remove code which may change the cache size between renders. Add a failing test to show that currently (without the compiled fast refresh check) this issues a warning and reuses the cache which may have stale values. ghstack-source-id: efdcb017ba3bdadd88b1f8bb5523b1a9f6217eb5 Pull Request resolved: https://github.com/facebook/react/pull/30662
Changed paths1 file
First-parent comparisonpackages/react-refresh/src/__tests__/ReactFreshIntegration-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…