All Projects → astrada → reason-rt-binding-generator

astrada / reason-rt-binding-generator

Licence: MIT License
Reason binding generator for react-toolbox

Programming Languages

ocaml
1615 projects

Projects that are alternatives of or similar to reason-rt-binding-generator

bs-rsuite-ui-react
Reason bindings for React Suite UI library
Stars: ✭ 26 (+44.44%)
Mutual labels:  reasonml, reason-react, bucklescript-bindings
app-template-rescript-react
Adding ReScript with rescript-react on top of @snowpack/app-template-react
Stars: ✭ 44 (+144.44%)
Mutual labels:  reasonml, reason-react
qnd
Quick and Dirty development builds
Stars: ✭ 19 (+5.56%)
Mutual labels:  reasonml, reason-react
re-use
⚛️ 🎣 A collection of hooks for ReasonReact
Stars: ✭ 27 (+50%)
Mutual labels:  reasonml, reason-react
Bs Material Ui
ReScript bindings for material-ui
Stars: ✭ 185 (+927.78%)
Mutual labels:  reasonml, reason-react
Rescript Relay
Use Relay with ReasonML.
Stars: ✭ 214 (+1088.89%)
Mutual labels:  reasonml, reason-react
Reason-react-hooks
🧶 Some hooks in ReasonML for reason-react that can be useful
Stars: ✭ 14 (-22.22%)
Mutual labels:  reasonml, reason-react
Brisk Reconciler
React.js-like reconciler implemented in OCaml/Reason
Stars: ✭ 124 (+588.89%)
Mutual labels:  reasonml, reason-react
reason-hooks-testing-library
ReasonML bindings for react-hooks-testing-library
Stars: ✭ 24 (+33.33%)
Mutual labels:  reasonml, reason-react
re-cite
Manage citations from your colleagues , friends, movies, your cat or even yourself.
Stars: ✭ 20 (+11.11%)
Mutual labels:  reasonml, reason-react
dokusho
Simple Japanese reading stats tracker
Stars: ✭ 12 (-33.33%)
Mutual labels:  reasonml, reason-react
reason-catstagram
🐈 Catstagram made with ReasonReact!
Stars: ✭ 31 (+72.22%)
Mutual labels:  reasonml, reason-react
Fullstack Reason
A demo project that shows a fullstack ReasonML/OCaml app–native binary + webapp
Stars: ✭ 164 (+811.11%)
Mutual labels:  reasonml, reason-react
Reason Graphql Fullstack
Fullstack Reason + GraphQL Todo List App
Stars: ✭ 246 (+1266.67%)
Mutual labels:  reasonml, reason-react
Pure
React in pure Reason that targets native platforms.
Stars: ✭ 135 (+650%)
Mutual labels:  reasonml, reason-react
LifeTime
LifeTime app
Stars: ✭ 35 (+94.44%)
Mutual labels:  reasonml, reason-react
Rescript Recoil
Zero-cost bindings to Facebook's Recoil library
Stars: ✭ 115 (+538.89%)
Mutual labels:  reasonml, reason-react
Reroute
a fast, declarative microrouter for reason-react
Stars: ✭ 120 (+566.67%)
Mutual labels:  reasonml, reason-react
re-typescript
An opinionated attempt at finally solving typescript interop for ReasonML / OCaml.
Stars: ✭ 68 (+277.78%)
Mutual labels:  reasonml, reason-react
reason-react-lazy-loading
Example project to show how to use components lazy loading in ReasonReact
Stars: ✭ 41 (+127.78%)
Mutual labels:  reasonml, reason-react

Reason bindings generator for react-toolbox

This tool generates the Reason bindings for react-toolbox. It works on the JSON output generated by typedoc. It extracts all components (that extend React.Component<P,S>), and generates .re modules (and .rei module signatures), getting all props from the first type parameter.

Prerequisites

  1. If you don't have the OCaml compiler (or OPAM) installed, please install it.

    opam install jbuilder yojson
    
  2. Install reason-cli.

  3. Install JS dependencies:

    yarn install
    

How to (re)generate bindings

yarn typedoc
jbuilder clean
jbuilder runtest
yarn refmt

Check the output subdirectory: You should find reactToolbox.re, reactToolbox.rei, reactToolboxBundled.re, reactToolboxBundled.rei.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].