React Custom Lists - RecyclerView & UITableView

I'm curious why React Native doesn't use native platform list components like RecyclerView for Android and UITableView (CollectionView) for iOS.

Ideally, this can provide much more feature support and improved performance than is currently available.

Is there a reason why React Native lists are only supported by ScrollViews?

+3


source to share


2 answers


I couldn't personally tell you, but I quoted the author.

The UITableView API is not very well suited to the asynchronous nature of ReactNative, and the resulting code was rather crude, especially when trying to make smooth animations to increase row heights, which we do in a groups app.



Source: Early discussion actually.

+4


source


For viewing Recycler in Android. Try it.

react-native-recycler-listview



Works! Some gradle installation is required.

0


source







All Articles