dillon1000/react
Commit
Browse files More Unit Tests for Refs in Hidden Subtrees (#31404)
## Summary While fixing ref lifecycles in hidden subtrees in https://github.com/facebook/react/pull/31379, @rickhanlonii noticed that we could also add more unit tests for other types of tags to prevent future regressions during code refactors. This PR adds more unit tests in the same vein as those added in https://github.com/facebook/react/pull/31379. ## How did you test this change? Verified unit tests pass: ``` $ yarn $ yarn test ReactFreshIntegration-test.js ```
Changed paths1 file
First-parent comparisonpackages/react-refresh/src/__tests__/ReactFreshIntegration-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…