Skip to content

ml-in-barcelona/server-reason-react

Repository files navigation

Warning This repo contains a few parts that are considered alpha-stage and not ready for production. The parts that are more stable are used in production at app.ahrefs.com for all users and wordcount.com, but Belt, Js modules have missing APIs and non-implemented functions. This project enables sharing ReasonReact code between native and JavaScript and there's a lot of interesting pieces from this architecture. If you are interested, feel free to contact me in Discord or Twitter.

server-reason-react

Re-implementation of react, react-dom and react-dom/server to run on the server and a few related libraries in Reason/OCaml, to enable Server-side Rendering for reason-react applications.

Explained more details in this blog post sancho.dev/blog/server-side-rendering-react-in-ocaml