Skip to content

[Backport] fix: avoid crash when links to components change in dynamic texts - #4391

Merged
phlipsterit merged 1 commit into
release/v4.35from
backport/4386
Oct 22, 2026
Merged

phlipsterit merged 1 commit into
release/v4.35from
backport/4386

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #4386

This is an automated backport of PR #4386 to the release/v4.35 release branch.

Original PR

Changes

Cherry-picked the merge commit from the original PR onto the release branch.


🤖 This backport PR was created automatically by the Auto Backport workflow.

)

Links made with linkToComponent are parsed from text without stable keys, so
React reused a LinkToPotentialNode for a link with another target when a link
was removed from the middle of a list. useIsHidden throws when its component id
changes. Key the inner component on the target so a new target mounts fresh.
@github-actions github-actions Bot added automated backport-ignore This PR is a new feature and should not be cherry-picked onto release branches kind/other Pull requests containing chores/repo structure/other changes labels Oct 22, 2026
@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 223a892c-a1aa-4b5a-b6fd-5d623619bc01

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@phlipsterit
phlipsterit enabled auto-merge (rebase) October 22, 2026 12:44
@phlipsterit
phlipsterit merged commit ae93770 into release/v4.35 Oct 22, 2026
1 check passed
@phlipsterit
phlipsterit deleted the backport/4386 branch October 22, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated backport-ignore This PR is a new feature and should not be cherry-picked onto release branches kind/other Pull requests containing chores/repo structure/other changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant