mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
0ffc7f632b
## Summary Updates the `useMemoCache()` tests to validate that the memo cache persists when a component does a setState during render or throws during render. Forget's compilation output follows the general pattern used in this test and is resilient to rendering running partway and then again with different inputs. ## How did you test this change? `yarn test` (this is a test-only change)