react-native-hold-menu icon indicating copy to clipboard operation
react-native-hold-menu copied to clipboard

HoldItem causing entire component to re-render

Open Kaique292 opened this issue 9 months ago • 7 comments

Well, I'm using HoldItem in a list, as a child element I have a checkbox, whenever this checkbox is updated, HoldItem is making my entire component re-render. Causing the other element, which is an image, to be reloaded unnecessarily. I've done everything with this component, I've contacted the developer but no response. I'll wait for a solution here, if not, I think I'll make this component from 0 myself...

Expo SDK: 51.0.8

snapcode

Kaique292 avatar May 19 '24 15:05 Kaique292