package reason-react-ppx
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8e2d62ea3d42896ef23928131cd70cd37870632a87481554269a7d0635da59b1
sha512=879f015ef57ef88d6cbc09b09e82b3f23a9ab1e481f34ba4987dec2a6a46ed903c48b69f7e2875ef24cde6bd873e3d8022b9018ec42004240572c61bc39e1921
Description
ReasonReact JSX PPX
Published: 14 Sep 2023
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 (4)
Dev Dependencies (3)
-
odoc
with-doc
-
ocamlformat
= "0.24.0" & with-dev-setup
-
merlin
= "4.10-414" & with-test
Used by (12)
- heroicons-reason-react
-
melange
>= "3.0.0-51"
- melange-fest
- melange-radix-icons
- melange-react-dates
- melange-react-query
-
melange-recharts
< "4.0.3"
-
reason-react
= "0.12.0"
- reshowcase
- server-reason-react
- styled-ppx
-
universal-portal
< "0.3.0"
Conflicts
None