Reaml - React bindings for OCaml / ReasonML with compile time enforcement of the "Rules of Hooks"


#1

The project: https://github.com/utkarshkukreti/reaml
Starter: https://github.com/utkarshkukreti/reaml-starter
Examples with code: https://reaml.netlify.com

This project started as bs-preact 5 months ago but I switched to React because I’m using React more these days and swapping out React to Preact is much easier than the other way around. Ask me anything!


#2

This looks really cool. ReasonReact’s lack of enforcement for the “rules of hooks” seems like a major issue to me, so it’s nice to see that such enforcement can be done.

Is there any plan to make Reaml compatible with JSX?