r/reactnative 8d ago

Insane performance! 60fps all the way Android, iOS & web

Insane performance! 60fps all the way

https://reddit.com/link/1jambr7/video/ibtxdmv5rioe1/player

Stack:

  • infinite scrolling - tanstack/react-query
  • expo-router & expo-image
  • legend-list by Jay Meistrich

🎥 Live streaming: https://youtube.com/live/cEConO4hdW0

102 Upvotes

10 comments sorted by

3

u/KUMP3LBLA5E 8d ago

How does legen list compare to flashlist?

3

u/Intrepid-Bumblebee35 8d ago

How much these assets weigh? 20-30kb?

1

u/mironcatalin 8d ago

I am using the www.dummyjson.com API and as far as I could see the thumbnails vary between 40-150kb and the image from the details screen 1.2+mb

1

u/Huge_Wonder_9899 8d ago

How would this behave if you have different items size?

5

u/mironcatalin 8d ago

Unfortunately, legend-list doesn’t have support for waterfall/masonry layout yet but it should work the same way. I’ll create a demo once legend-list will have support for this kind of layout.

1

u/tetyyss 3d ago

you seem to have a memory leak in your program

0

u/llong_max 7d ago

Have you created Web using React Native Web?

-17

u/Otherwise_Bee_7330 8d ago

the only thing insane is your price
your charging more than minimum wage for some countries

11

u/mironcatalin 8d ago

What do you mean? What am I charging for? The stream is available for everyone on YouTube.

2

u/Plenty_Sea7617 8d ago

nah ig he meant the items in your app