Skip to content

Commit

Permalink
add more detailed explaination to esline disable
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Aug 22, 2023
1 parent fe88006 commit bf073ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageView/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function ImageView({isAuthTokenRequired, url, onScaleChanged, onPress, style}) {

useEffect(() => {
imageLoadingStart();
// eslint-disable-next-line react-hooks/exhaustive-deps -- adding imageLoadingStart to deps array causes the component to be stuck on loading
// eslint-disable-next-line react-hooks/exhaustive-deps -- adding imageLoadingStart to deps array causes the component to be stuck on loading, wrapping imageLoadingStart with useCallback doesn't help. This issue occurs on both platforms
}, [url]);

/**
Expand Down

0 comments on commit bf073ef

Please sign in to comment.