I using a FlatList to render List and I've received warning Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks. when toggle on/off on a item, and the transition is very slowly. How can fix it ?
I using a FlatList to render List and I've received warning
Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
when toggle on/off on a item, and the transition is very slowly. How can fix it ?