Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Reason bindings for ReactJS

License

NotificationsYou must be signed in to change notification settings

reasonml/reason-react

Repository files navigation

WarningForReScript users, we recommend using@rescript/react instead. Before, ReasonReact was designed to be used with BuckleScript and it got packaged into @rescript/react. More context on the movehere.

PRs Welcomecontributorsdiscordtwitter

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 morehere

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 startedhere

Watch Ricky Vetter's Reason Conf talk,"Why React is Just Better in Reason" to learn more about how Facebook & Messenger are using ReasonReact

Watch Jordan Walke's Reason Conf talk,"React to the Future" to learn more about the future of ReasonML and React

Example

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

See all of our exampleshere. For a full application, check outreason-react-hacker-news.

Using Your Favorite Javascript Libraries

The same way that TypeScript hastype annotations, we havebindings. 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

Seehttps://reasonml.github.io/reason-react

Contribute

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

./CONTRIBUTING.md

Editor Support

Looking for syntax highlighting for your favorite editor? Check outReasonML Editor Plugins


[8]ページ先頭

©2009-2025 Movatter.jp