package reason-react
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=6df6cc4c0f18890ceada8ce3d6693ce6bcaebdc660fa7278134140267694f6bf
sha512=e3bd72fecec885cfaafc9240721156dfd6393f1444bc05980b4a9341bdaf16409f72f38c4a43c47031de3d37bcc755d0ea5c7e2df61f8b9b75b7de2e47c10f6d
Description
ReasonReact helps you use Reason to build React components with deeply integrated, strong, static type safety.
It is designed and built by people using Reason and React in large, mission critical production React codebases.
Added to opam-repository:
README
ReasonReact
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:
Editor Support
Looking for syntax highlighting for your favorite editor? Check out ReasonML Editor Plugins
Dependencies (5)
-
reason
>= "3.6.0" & < "3.10.0" - reactjs-jsx-ppx
-
melange
>= "1.0.0" & < "2.0.0" -
ocaml
>= "4.13.0" -
dune
>= "3.8"
Dev Dependencies (3)
-
odoc
with-doc -
opam-check-npm-deps
= "1.0.0" & with-dev-setup -
ocaml-lsp-server
with-test
Optional Dependencies
None
Used by (9)
Conflicts
None
Build status
Results of building reason-react with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. 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.
This version is not in the latest run; the versions below are.
- 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