Vision List
📜 The fastest React Native list component.
yarn add react-native-vision-list
npx pod-install
Documentation
TODO: Add documentation
Features
- Fully native cell virtualization
- Synchronous cell rendering and reparenting powered by Fabric and JSI
- Drop-in replacement for FlatList
- Fast mount, re-render and scrolling
See the example app
Example
function ContactCell(props) {
return (
<View style={styles.cell}>
<Image source={props.contact.image} />
<Text>{props.contact.displayName}</Text>
</View>
)
}
function App() {
const contacts = useContactBook()
return (
<VisionList
items={contacts}
renderItem={(c) => <ContactCell contact={c} />}
/>
)
}
Sponsored by
VisionList is powered by Margelo.