react-native-drop-shadow icon indicating copy to clipboard operation
react-native-drop-shadow copied to clipboard

High performance issues in FlatList

Open radekzz opened this issue 2 years ago • 4 comments

I have a SectionList where is render DropShadow component with text and images. On Android 12 the performance very low comparing to View component, where infinite loading hundreds of items is smooth.

I didn't change anything else in my very complex code, just replaces it by View and i feel 100% performance boost.

Do you have any measurement or ideas why it was so slow?

radekzz avatar Dec 07 '22 12:12 radekzz

Have you tried following example? image

hoanglam10499 avatar Mar 22 '23 03:03 hoanglam10499

I already used a different solution, but if anyone would have performance issue, i hope it will help.

CellRenderrerComponent={DropShadow}

radekzz avatar Mar 27 '23 07:03 radekzz

@radekzz Hey man, is the problem solved?

GabeJing avatar Apr 24 '24 08:04 GabeJing

I ended up with stop using the component and use my own styles unfortunately

radekzz avatar Apr 24 '24 08:04 radekzz