Are re-renders on scroll an expected behavior? #1882
Unanswered
florian-deroo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using FlashList and I've noticed that the component itself re-renders every time I scroll. I'm trying to determine if this is the expected behavior for the library (e.g., due to view recycling) or if I might have an issue in my implementation.
I've used a whyDidYouUpdate tool and it doesn't show any prop changes that would trigger these re-renders. Additionally, as you can see in the attached profiler screenshot, none of the parent or child components around FlashList are re-rendering; the re-renders are isolated to the FlashList component itself.
Could you please clarify if this is the intended behavior?
Thanks for your help!

Beta Was this translation helpful? Give feedback.
All reactions