dillon1000/react

Commit

Test that text spans aren't remounted needlessly

While working on #2382, I accidentally broke this behavior (causing text components to get unmounted and remounted for any update) but we didn't have any unit test for it. Now we do.

Test Plan: jest TextComponent
Browse files
Changed paths1 file
First-parent comparison
M src/core/__tests__/ReactTextComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…