• Stars
    star
    109
  • Rank 308,458 (Top 7 %)
  • Language
    OCaml
  • License
    MIT License
  • Created over 1 year ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Server rendering Reason React components with OCaml natively

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