react-native-vision-list
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i react-native-vision-list

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

25 kB

Total Files

17

Last publish

Collaborators

  • mrousavy