Skip to content

Conversation

@sebmarkbage
Copy link
Collaborator

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 facebook: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.
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