react-native-ratings icon indicating copy to clipboard operation
react-native-ratings copied to clipboard

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 the componentWillUnmount method

Open reyhanadp opened this issue 1 year ago • 4 comments

Hi, I have got the following 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 the componentWillUnmount method. in SwipeRating

This is my code : <Rating readonly={true} type="star" ratingCount={1} startingValue={1} imageSize={15} />

What's wrong with my code?

Thank you

reyhanadp avatar Aug 10 '22 12:08 reyhanadp

seeing same issue on my app

CoryWritesCode avatar Sep 02 '22 15:09 CoryWritesCode

seeing same issue on my app

AhmedRedaDev avatar Oct 31 '22 16:10 AhmedRedaDev

I have the same issue too. Does anybody have the any solve?

PavelSuchkov avatar Jul 21 '23 09:07 PavelSuchkov

I used below npm for rating and this is working fine for me !

https://www.npmjs.com/package/react-native-custom-star-rating

Anand013 avatar Feb 15 '24 18:02 Anand013