You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @PierreCapo
Thanks for the package here.
I am using this in a flatlist and after a few update of the feed component, I see that there's a warning :
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
And the next time I update the flatlist it crashes stating that
TypeError: undefined is not an object (evaluating 'data.created_at'
Whereas the same doesn't happen when I just use a Text component to render data.created_at.
Any ideas why this might be happening or how do I solve this 🤔
The text was updated successfully, but these errors were encountered:
Hi @PierreCapo
Thanks for the package here.
I am using this in a flatlist and after a few update of the feed component, I see that there's a warning :
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
And the next time I update the flatlist it crashes stating that
TypeError: undefined is not an object (evaluating 'data.created_at'
Whereas the same doesn't happen when I just use a
Text
component to renderdata.created_at
.Any ideas why this might be happening or how do I solve this 🤔
The text was updated successfully, but these errors were encountered: