Skip to content

[Fiber] Handle Bailed Out HostText update and MultiChildText test - #8371

Merged
sebmarkbage merged 1 commit into
react:masterfrom
sebmarkbage:fibertext
Nov 29, 2016
Merged

sebmarkbage merged 1 commit into
react:masterfrom
sebmarkbage:fibertext

Conversation

@sebmarkbage

Copy link
Copy Markdown
Contributor

This handles the case where a host text bails out. In that case we need to reuse its previous memoizedProps. We should also only schedule an actual update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.

When combined with #8331 the test actually passes.

This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
@sebmarkbage
sebmarkbage merged commit f634b81 into react:master Nov 29, 2016
acusti pushed a commit to brandcast/react that referenced this pull request Mar 15, 2017
This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
laurinenas pushed a commit to laurinenas/react that referenced this pull request May 28, 2018
This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
This handles the case where a host text bails out. In that case we need to
reuse its previous memoizedProps. We should also only schedule an actual
update if it did actually change its text content.

I updated the unit test to ignore comment nodes if we're using Fiber.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants