Skip to content

Conversation

@logovaser
Copy link

@logovaser logovaser commented May 19, 2025

AdaptedArrow component takes a while to render even though it's only noticeable when there are many connections visible. There's no need to render them again if the position is stale.
I made this simple solution for my project and it does the job. You may come up with the better one, but I'd highly appreciate this change to be included. Sorry, I wasn't able to run/compile your project correctly due to lack of time, so just posting this concept.
Thanks for your work.

@logovaser logovaser changed the title Add memoisation to avoid rerenders when position is the same Add memoization to avoid rerenders when position is the same May 19, 2025
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