Apparently users have reported crashes while scrolling through waves too fast, my guess is there is a performance bottleneck because of processing renderHTMLs in a long list of waves.
As suggested by @gamingumar, we can migrate FlatList to FlashList as a quick remedy to improve performance, later we can also consider optimising item renderer
[x] First Migrate CommentsView.tsx, that component is also used to render waves
[x] Migrate postComments.tsx, this component renders comment made to a post in post details screen
[x] Migrate PostsListContainer.tsx, use to render post feeds
Apparently users have reported crashes while scrolling through waves too fast, my guess is there is a performance bottleneck because of processing renderHTMLs in a long list of waves.
As suggested by @gamingumar, we can migrate FlatList to FlashList as a quick remedy to improve performance, later we can also consider optimising item renderer
CommentsView.tsx
, that component is also used to render wavespostComments.tsx
, this component renders comment made to a post in post details screenPostsListContainer.tsx
, use to render post feeds