React Native (starting from)

Starting template

Rescript for react native template is outdated, you better setup it yourself in either a expo project or bare app.

Its really simple, basically you'll need to add rescript compiler and rescript react native bindings dependencies and the bs.config.json file

Documentation

Most of the official documentations for RN components are simply not written, you will be better if you understand rescript language and read the module sources. It will be hard to understand how you're supposed to use/convert types to use components, but try to read the sources, good luck.

Editor

Intellij works, and is my favorite, but the unofficial plugin doesn't color properly JSX, so I often switch to VSCode

Beware that intellij automatically compile saved .res files, so you don't need to run rescript in watch mode elsewhere

Rescript Formating

The official vscode extension already works properly, but if you need a manual command you can use rescript format

Rescript (language)