• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    OCaml
  • License
    MIT License
  • Created about 2 years ago
  • Updated 3 months ago

Reviews

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

Repository Details

Server render 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