GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rescript-react-native/flash-list: ReScript bindings for @shopify/flash-list

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.node-version
.node-version
 
 
.prettierignore
.prettierignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rescript.json
rescript.json
 
 

Repository files navigation

@rescript-react-native/flash-list

Build Status Version ReScript Forum

ReScript bindings for flash-list.

Exposed as FlashList module.

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

Installation

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

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

@rescript-react-native/flash-list should be added to bs-dependencies in your rescript.json:

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

Usage

Methods

<FlashList>

open ReactNative;

@react.component
let make = () => {
  <FlashList
    data={[{"id": "1", "name": "Foo"}]}
    keyExtractor={(item, _) => item["id"]}
    renderItem={({item}) =>
      <View>
        <Text> {item["name"]->React.string} </Text>
      </View>}
  />
}

Changelog

Check the changelog for more informations about recent releases.


Contribute

Read the contribution guidelines before contributing.

Code of Conduct

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

About

ReScript bindings for @shopify/flash-list

Topics

flash-listreactreact-nativerescriptrescript-reactrescript-react-native

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

Generated from rescript-react-native/__template__
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.