# @jchavarri/reason-react

> React bindings for Reason

Latest version **0.7.0-postinstall.1** (published 2020-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jchavarri/reason-react
pnpm add @jchavarri/reason-react
yarn add @jchavarri/reason-react
bun add @jchavarri/reason-react
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.7.0-postinstall.1 |
| Published | 2020-01-13 |
| First published | 2020-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 22.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 3263 |
| Maintainers | jchavarri |
| Keywords | reasonml, bucklescript, react |

## Links

- npm: https://www.npmjs.com/package/@jchavarri/reason-react
- Repository: https://github.com/reasonml/reason-react
- Homepage: https://reasonml.github.io/reason-react/
- Issues: https://github.com/reasonml/reason-react/issues
- npm.io page: https://npm.io/package/@jchavarri/reason-react

## Dependencies (3)

- [react](https://npm.io/package/react.md) >=16.8.1
- [react-dom](https://npm.io/package/react-dom.md) >=16.8.1
- [bs-platform](https://npm.io/package/bs-platform.md) ^7.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.7.0-postinstall.1 (latest) — 2020-01-13
- 0.7.0-postinstall.0 — 2020-01-13

## README

# [ReasonReact](https://reasonml.github.io/reason-react/)

Come join us in [Discord](https://discord.gg/reasonml)!

## Example

```reason
/* Greeting.re */
[@react.component]
let make = (~name) => <h1> {React.string("Hello " ++ name)} </h1>
```

in another file:

```reason
ReactDOMRe.renderToElementWithId(<Greeting name="Taylor" />, "root");
```

For a more in-depth example, see: https://github.com/reasonml-community/reason-react-hacker-news

## Quick start

[BuckleScript](http://bucklescript.github.io/) compiles ReasonML code to JavaScript. You can get it with:

```sh
npm install --global bs-platform
bsb -init my-react-app -theme react-hooks
cd my-react-app && npm install && npm start
# in another tab
npm run server
```

## Documentation

See https://reasonml.github.io/reason-react/

## Contribute

```sh
git clone https://github.com/reasonml/reason-react.git
cd reason-react
npm install
npm start
```

Then add some files somewhere (don't forget to change `bsconfig.json`, if needed).

See the README inside `src` for more info!

---
_Source: https://npm.io/package/@jchavarri/reason-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
