package reason-react-ppx
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=fa93c9a3f6f9d2fa78a400bfca02352c70793b4a43275c6971064e7453fc43cd
sha512=7408f3b9a86a78b8062d45b131f4fb166c75a783be7a33bf63b3841b32b9022230b45e69323ef7ed6b717921b4ddb375ead0f0ce534174552f032f4de23de2ad
README.md.html
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