-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
React hooks crashes onLoadEnd #504
Labels
Comments
dimaportenko
added a commit
to dimaportenko/react-native-fast-image
that referenced
this issue
Jun 27, 2019
This was referenced Jun 27, 2019
I've added pull request which prevents crash in my case |
I'd like to be able to reproduce this issue. It would also be good to know if this affects other callbacks. |
I'll try to create a sample project with reproduction. |
did you get a solution for this? noticed that this happens a lot for me too |
leinelissen
added a commit
to leinelissen/jellyfin-audio-player
that referenced
this issue
Apr 12, 2023
There is some weird behaviour in react-native-fast-image which causes it to crash whenever the onError or onLoadEnd prop is set. The issue is documented in DylanVann/react-native-fast-image#504.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using FastImage component from
react-native-fast-image
with React useState in callback.like this
Avatar
component used insideFlatList
and when I'm clearing its data I'm getting crashCrash disappear without
setIsImageUploaded(true);
likeI'm new to React hooks. Any ideas on how to correctly deal with such cases?
The text was updated successfully, but these errors were encountered: