Skip to content

Add test for componentDidUpdate with a bailout in the middle#8525

Merged
sebmarkbage merged 1 commit intofacebook:masterfrom
sebmarkbage:testdidupdateorder
Dec 7, 2016
Merged

Add test for componentDidUpdate with a bailout in the middle#8525
sebmarkbage merged 1 commit intofacebook:masterfrom
sebmarkbage:testdidupdateorder

Conversation

@sebmarkbage
Copy link
Contributor

This is one of the cases where Fiber diverges.

This is one of the cases where Fiber diverges.
Copy link
Collaborator

@acdlite acdlite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@sebmarkbage sebmarkbage merged commit 343fb95 into facebook:master Dec 7, 2016
@sophiebits
Copy link
Collaborator

@acdlite is going to fix this so stack is the same

@sebmarkbage
Copy link
Contributor Author

no not this one. That's another one.

// We expect the same thing to happen if we bail out in the middle.
expect(ops).toEqual(
ReactDOMFeatureFlags.useFiber ?
[
Copy link
Collaborator

@sophiebits sophiebits Dec 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint fails for indentation here. ¯\_(ツ)_/¯

laurinenas pushed a commit to laurinenas/react that referenced this pull request May 28, 2018
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