Skip to content

Conversation

ReshmaRamaiah10
Copy link

Issue: An infinite re-render loop was caused when a key was deleted because addedListItemKeys became an empty array [].

Fix: Compare the new filtered keys with the current addedListItemKeys by checking both length and content equality. Update addedListItemKeys only if they are different.

Previous PR: #532

@ReshmaRamaiah10 ReshmaRamaiah10 requested a review from bprize15 July 30, 2025 19:54
Copy link

@bprize15 bprize15 left a comment

Choose a reason for hiding this comment

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

LGTM

@bprize15 bprize15 merged commit 952e6ce into oncokb:rc Aug 1, 2025
5 of 6 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.

2 participants