# reasonml/reason-react

Reason bindings for ReactJS

Repository: https://github.com/reasonml/reason-react
Canonical: https://ross.abutalabs.com/products/reason-react
Homepage: https://reasonml.github.io/reason-react/
Language: Reason
License: MIT
License Family: permissive
Topics: react, reasonml, melange
Last push: 2026-06-15T18:44:06+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 38, longevity 100
- inputs: {"age_days": 3447, "days_push": 79, "days_rel": 252, "gap_med": 154, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3263, forks 343 (observed 2026-08-28T04:07:52.799907+00:00)

## What it is
ReasonReact provides typed Reason language bindings for ReactJS, letting you write React components with Reason's type system while remaining plain React under the hood. It is now primarily maintained for legacy Reason users, with ReScript users directed to @rescript/react.

## Use cases
- build react components in reason
- add type safety to react development
- integrate reason into an existing react or next.js project
- write typed jsx components with zero runtime overhead
- use reactjs knowledge with a strongly typed language
- maintain a legacy reasonml react codebase

## When to choose
- you have an existing ReasonML codebase using BuckleScript or Melange
- you want React components with strong static type inference and zero runtime cost
- you want to incrementally add Reason to a JavaScript or TypeScript React project

## When to avoid
- you are starting a new ReScript project - use @rescript/react instead
- your team works in plain JavaScript or TypeScript and has no Reason experience
- you need a large ecosystem of actively maintained typed component libraries

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, frontend-framework, type-system
- domain: web-development, frontend, programming-languages
- platform: browser, cross-platform
- tags: reasonml, react-bindings, melange, bucklescript, typed-react, ocaml, web-server, nodejs

## Member repositories
- reasonml/reason-react (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:52.799907+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:43:51.818322+00:00, confidence not recorded.
  - readme: https://github.com/reasonml/reason-react (fetched 2026-08-28T04:07:52.799907+00:00, sha 948c43bf63ea)
  - homepage: https://reasonml.github.io/reason-react/ (fetched 2026-08-29T09:36:36.050390+00:00, sha 90bf861bb50d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
