Skip to content

rescript-react-native/rescript-react-navigation

Repository files navigation

rescript-react-navigation

Build Status Version ReScript Forum

ReScript bindings for react-navigation.

Exposed as ReactNavigation module.

rescript-react-navigation X.y.* means it's compatible with react-navigation X.y.*

Status

⚠️ Work in progress. These bindings are used successfully in several apps, but are not complete yet and still subject to change.

Installation

When react-navigation is properly installed & configured by following their installation instructions, you can install the bindings:

npm install rescript-react-navigation
# or
yarn add rescript-react-navigation

rescript-react-navigation should be added to bs-dependencies in your bsconfig.json:

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

Example

See <./src/Example.re>


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.