mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
f1152656955de2bf5f28ad1c8da74b7efcba9d7b
## 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) DiffTrain build for commit https://github.com/facebook/react/commit/0ffc7f632b5cdc2d4ede97b6f8ff55e02183bdf9.
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%