Closed Youssef-Durgham closed 1 year ago
all you need to do is this you need to do that
const MemoizedRating = React.memo(Rating);
and in the return do this
<MemoizedRating minValue={1} imageSize={40} />
and it will works.
and we can close that (:
all you need to do is this you need to do that
const MemoizedRating = React.memo(Rating);
and in the return do this
<MemoizedRating minValue={1} imageSize={40} />
and it will works.