Closed jsonpreet closed 1 year ago
Thank you @jsonpreet for addressing this issue.
The problem with the renderItem prop. Specifically, it appears that passing a component as a function to renderItem is causing the state to not be properly recycled.
To solve this issue, you can try passing the component as a return value in the renderItem function instead. This should help ensure that the state is properly recycled.
Rather than being passed as a function directly. This should help ensure that the state is properly recycled, and hopefully solve the issue you're experiencing.
@PremshankarMI
Thank You for Support!
https://github.com/jsonpreet/pinsta-app/blob/master/app/(app)/index.tsx