Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Equivalent of FlatList from React Native in React

Is there an equivalent of the FlatList component from React Native in React? Having built a mobile app in React Native, I'm now converting it to React for a web app. (Have considered using react-native-web, but have decided against it, mainly because I want to learn React.)

If there isn't an equivalent, I have been thinking about just using map() to render all the items via an Item component that I build, also as demonstrated here in the docs and in this SO question.

like image 574
avriis Avatar asked Sep 28 '18 08:09

avriis


1 Answers

The official react site suggests the react-window and react-virtualized

like image 78
Mr.Ghamkhar Avatar answered Oct 16 '22 22:10

Mr.Ghamkhar