hoanglam10499 / react-native-drop-shadow

https://www.npmjs.com/package/react-native-drop-shadow
MIT License
225 stars 9 forks source link

High performance issues in FlatList #16

Open radekzz opened 1 year ago

radekzz commented 1 year ago

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?

hoanglam10499 commented 1 year ago

Have you tried following example? image

radekzz commented 1 year ago

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

CellRenderrerComponent={DropShadow}

GabeJing commented 5 months ago

@radekzz Hey man, is the problem solved?

radekzz commented 5 months ago

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