This monorepo provides 3 packages:
@rescript/react: the Official ReScript Bindings for ReactJS@rescript/react-dom: the Official ReScript Bindings for react-dom@rescript/browser-router: a lightweight web client router based on rescript pattern-matching.
If you want to use react on the web, you now need to install both @rescript/react and @rescript/react-dom bindings.
| @rescript/react | ReScript | ReactJS | Documentation |
|---|---|---|---|
| 0.15.x | 12.0+ | 19 | |
| 0.14.x | 11.0+ (JSX4 + uncurried mode only) | 19 | |
| 0.12.x, 0.13.x | 11.0+ | 18 | Link |
| 0.11.0 | 10.1 | 18 | Link |
| 0.10.3 | 8.3 | 16.8.1+ | Link |
yarn install
yarn build
This project is the next evolution of the original reason-react bindings.