Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to FlashList #2766

Open
3 tasks done
noumantahir opened this issue Sep 28, 2023 · 1 comment
Open
3 tasks done

Migrate to FlashList #2766

noumantahir opened this issue Sep 28, 2023 · 1 comment
Assignees

Comments

@noumantahir
Copy link
Collaborator

noumantahir commented Sep 28, 2023

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

  • First Migrate CommentsView.tsx, that component is also used to render waves
  • Migrate postComments.tsx, this component renders comment made to a post in post details screen
  • Migrate PostsListContainer.tsx, use to render post feeds
@gamingumar
Copy link
Collaborator

#2771

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

No branches or pull requests

2 participants