Skip to content

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

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

sebmarkbage merged 1 commit into
react:masterfrom
sebmarkbage:testdidupdateorder

Conversation

@sebmarkbage

Copy link
Copy Markdown
Contributor

This is one of the cases where Fiber diverges.

This is one of the cases where Fiber diverges.

@acdlite acdlite left a comment

Copy link
Copy Markdown
Collaborator

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 react:master Dec 7, 2016
@sophiebits

Copy link
Copy Markdown
Collaborator

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

@sebmarkbage

Copy link
Copy Markdown
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 ?
[

@sophiebits sophiebits Dec 8, 2016 •

Copy link
Copy Markdown
Collaborator

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
)

This is one of the cases where Fiber diverges.
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
)

This is one of the cases where Fiber diverges.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
)

This is one of the cases where Fiber diverges.
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