Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I've fixed the same issue using Flastlist's Recyling method (https://shopify.github.io/flash-list/docs/recycling/) Please check this hook for your reference
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a feed screen with posts. When the post description is longer than 4 lines I want to be able to toggle show more/less.
I've been trying to use references to keep the state of each post show state but I can't seem to make it work. If anyone could help me it would be greatly appreciated. Here's a snippet of my code:
FeedScreen.jsx
PostContent.jsx
TextToggle.jsx
Thank you in advance !
Beta Was this translation helpful? Give feedback.
All reactions