jobtoday/react-native-image-viewing

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.

Closed this issue · 2 comments

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.

Issue Video

error

Findings :

The onRequestClose handler associated with the device's back button press is not aborting after the component gets unmounted and navigated to a new page

error2

Should be fine in v0.2.0

此问题依然存在,我使用的版本是 0.2.2