dillon1000/react

Commit

use-subscription tearing fix (#16623)

* Add (failing) subscription tearing test and bugfix
* Added more inline comments to test
* Simplified tearing test case slightly
Browse files
Changed paths2 files
First-parent comparison
M packages/use-subscription/src/__tests__/useSubscription-test.internal.js ModifiedM packages/use-subscription/src/useSubscription.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…