Skip to content

runfix: conversation component infinite rerender - #14314

Merged
atomrc merged 1 commit into
devfrom
runfix/conversation-rerender-loop
Dec 13, 2022
Merged

runfix: conversation component infinite rerender#14314
atomrc merged 1 commit into
devfrom
runfix/conversation-rerender-loop

Conversation

@PatrykBuniX

@PatrykBuniX PatrykBuniX commented Dec 13, 2022

Copy link
Copy Markdown
Contributor

Fix for infinite rerender bug in conversation component.

The reason behind the issue is the fact that react is calling ref callback function every time we change it's reference.
Docs: https://reactjs.org/docs/refs-and-the-dom.html#caveats-with-callback-refs

@PatrykBuniX
PatrykBuniX enabled auto-merge (squash) December 13, 2022 14:42
@atomrc
atomrc disabled auto-merge December 13, 2022 14:58
@atomrc
atomrc merged commit 09eb03b into dev Dec 13, 2022
@atomrc
atomrc deleted the runfix/conversation-rerender-loop branch December 13, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants