Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Oct 21, 2016

This doesn't deal with the fact that work is usually deferred so this will return null for first render (except in sync tests). It also doesn't deal with top levels being fragments etc. This needs to be unified with refs and findDOMNode better.

We also need to add incremental tests to ensure that the value is expected when render is deferred.

This is enough to unblock unit tests though.

However, this does expose that we reactComponentExpect and ReactTestUtils doesn't work very well with Fiber.

@gaearon
Copy link
Collaborator

gaearon commented Oct 21, 2016

ok

This doesn't deal with the fact that work is usually deferred
so this will return null for first render (except in sync tests).
It also doesn't deal with top levels being fragments etc.
It doesn't deal with the host instance type being a wrapper
around the public instance. This needs to be unified with refs
and findDOMNode better.

However, this does expose that we reactComponentExpect and
ReactTestUtils doesn't work very well with Fiber.
@sebmarkbage sebmarkbage force-pushed the fiberreturnfromtoprender branch from 04ea352 to 6e7c89e Compare October 21, 2016 18:58
@sebmarkbage sebmarkbage merged commit 8cac523 into facebook:master Oct 21, 2016
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.

3 participants