Since this is an observable behavior and is hard to think about, seems good to have tests for this. The expected value included in each test is the behavior that existed prior to #26546. DiffTrain build for commit https://github.com/facebook/react/commit/1b4a0daba8aba71f6fbf0c3b88633c51207a6ec7.