package reason-react-ppx

All checked builds pass
  1. Overview
  2. Docs
React.js JSX PPX

Install

dune-project
 Dependency

Authors

Maintainers

Sources

reason-react-0.17.0.tbz
sha256=02b67a08bd548dc1983c1bc69ef417ed06b5ebe9904f74fc9844c7a6b4ff318c
sha512=4512a0bbc04065ad0be4a35c4c6abe9d8e10376b4424a3c82f8a692759a57714493e99535f4450372587c85741e828e5b213c9cb404456c81dba4a5da66fefcc

Description

reason-react JSX PPX

Added to opam-repository:

README

ReasonReact

PRs Welcome contributors discord twitter

ReasonReact is a safer, simpler way to build React components. You get a great type system with an even better developer experience. Why choose ReasonReact? Read more here

ReasonReact is just React.js under the hood. This makes it super easy to integrate with your current Next.js, Create React App, JavaScript, Flowtype or TypeScript project. Learn more about getting started here

Example

/* Greeting.re */

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

See all of our examples here. For a full application, check out reason-react-hacker-news.

Using Your Favorite Javascript Libraries

The same way that TypeScript has type annotations, we have bindings. Bindings are libraries that allow you to import a popular project (like lodash) or to import your own local file. ReasonReact is in fact an example of a binding!

Documentation

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

Contribute

We welcome all contributors! Anything from docs to issues to pull requests. Please help us :smile:

./CONTRIBUTING.md

Editor Support

Looking for syntax highlighting for your favorite editor? Check out ReasonML Editor Plugins

Dependencies (4)

  1. ppxlib >= "0.36.0"
  2. reason >= "3.12.0"
  3. ocaml >= "4.14"
  4. dune >= "3.9"

Dev Dependencies (3)

  1. odoc with-doc
  2. ocamlformat = "0.28.1" & with-dev-setup
  3. merlin with-test

Optional Dependencies

None

Conflicts

None

Build status

Results of building reason-react-ppx with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.17.0 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure