3 ms·
A bit off topic but how is react native performance compared to native? Lets say you did an Instagram type timeline, would you be able to get the same scrolling
by sprite 10y ago
A bit off topic but how is react native performance compared to native? Lets say you did an Instagram type timeline, would you be able to get the same scrolling performance with RN as going native?
- k_sh 10y agoI only do React work (not Native) so I can't definitively say, but I'd imagine it's close to native perf, because React Native spits out native UI components at the end of the day.
- jwarren 10y agoI've run into a few problems with lower memory Android devices - even with the optimised ListView components, there were crashes. However, there's a new FlatList[1] component coming in (I hope) 0.43 which is waaay more performant - it's practically solved all of my issues. There are also ways of bridging over to native scroll views - see this article[2] by Wix's Tal Kol for one example. 1: https://facebook.github.io/react-native/releases/next/docs/flatlist.html https://facebook.github.io/react-native/releases/next/docs/f... 2: https://medium.com/@talkol/recycling-rows-for-high-performance-react-native-list-views-628fd0363861#.x98ryoo4t https://medium.com/@talkol/recycling-rows-for-high-performan...
- sprite 10y agoThanks.