react-native-vision-list
v0.1.1
Published
The fastest React Native List component.
Downloads
4
Maintainers
Readme
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.