Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

rescript-react-native/flash-list

Build StatusVersionReScript Forum

ReScript bindings forflash-list.

Exposed asFlashList module.

@rescript-react-native/flash-list X.y.* means it's compatible with@shopify/flash-list X.y.*

Installation

When@shopify/flash-listis properly installed & configured by following their installation instructions,you can install the bindings:

npm install @rescript-react-native/flash-list#oryarn add @rescript-react-native/flash-list

@rescript-react-native/flash-list should be added tobs-dependencies in yourrescript.json:

{  //...  "bs-dependencies": [    "@rescript/react",    "rescript-react-native",    // ...+    "@rescript-react-native/flash-list"  ],  //...}

Usage

Methods

<FlashList>

openReactNative;@react.componentletmake= ()=> {  <FlashListdata={[{"id":"1","name":"Foo"}]}keyExtractor={(item,_)=>item["id"]}renderItem={({item})=>      <View>        <Text> {item["name"]->React.string} </Text>      </View>}  />}

Changelog

Check thechangelog for more informations about recentreleases.


Contribute

Read thecontribution guidelinesbefore contributing.

Code of Conduct

We want this community to be friendly and respectful to each other. Please readour full code of conductso that you can understand what actions will and will not be tolerated.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp