ReasonReact

ReasonReact

  • Документация
  • Попробовать
  • Примеры
  • Сообщество
  • Блог
  • Languages iconРусский
    • 日本語
    • English
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • 中文
    • 繁體中文
    • Помочь в переводе
  • GitHub
Black Lives Matter. Support the Equal Justice Initiative.
Hello! This particular page hash has moved to . Please update the URLs to reflect it. Thanks!
ReasonReact
All your ReactJS knowledge, codified.
[@react.component]
let make = (~name) =>
  <button>
    {React.string("Hello!")}
  </button>;
[@react.component]
let make = (~name) =>
  <button>
    {React.string("Hello!")}
  </button>;
Начать
Примеры

It's Just React

Just a bunch of zero-runtime type definitions and lightweight utilities, for the same React you've come to know.

Safe and Sound

Simple, solid and inferred using Reason types. Write the same React code, get your type system guarantees automatically.

Drop In

Powered by ReactJS under the hood. Freely integrate your existing React libraries and knowledge.

QuickStart

npm install -g bs-platform
bsb -init my-react-app -theme react-hooks
cd my-react-app
npm install && npm start

Then open another tab and do:

npm run server

Your apps are the html files inside src/

Примеры

Hacker News

TodoMVC

Кто использует ReasonReact

Посмотреть полный список