Skip to content

fix(runtime): related fixes around new componentShouldUpdate behaviour - #7041

Merged
johnjenkins merged 3 commits into
v5from
fix/v5-componentShouldUpdate-fixes
Nov 25, 2026
Merged

johnjenkins merged 3 commits into
v5from
fix/v5-componentShouldUpdate-fixes

Conversation

@johnjenkins

@johnjenkins johnjenkins commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What is the current behavior?

in v5 componentShouldUpdate calls are batched (#6783), a false return can:

Also, changes and forceUpdate() calls made during componentWillUpdate / componentWillRender (or while an async componentWillUpdate is pending) carried over into the next update's componentShouldUpdate.

What is the new behavior?

Fixes #7039
Fixes #7038
Fixes #7042

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@johnjenkins
johnjenkins requested a review from a team as a code owner November 25, 2026 15:27
@johnjenkins
johnjenkins merged commit 478b9f8 into v5 Nov 25, 2026
31 checks passed
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.

1 participant