koonwen / server-reason-react

Server rendering Reason React components natively

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

server-reason-react

Re-implementation of parts of React, ReactDOM and entirely ReactDOMServer; plus a few related libraries in OCaml, to enable Server-side Rendering on reason-react applications.

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

Demo

Warning This repo is in an early stage and not ready for public consumption. Consider it as nightly releases. It's already used in production at app.ahrefs.com for all users, but the shape of the libraries, missing APIs and lack of documentation makes it hard to use and rely on it. Even with all of this, if you are still interested contact me in Discord or Twitter.

About

Server rendering Reason React components natively


Languages

Language:OCaml 77.4%Language:Reason 22.4%Language:Makefile 0.2%Language:C 0.0%Language:Perl 0.0%Language:Shell 0.0%Language:JavaScript 0.0%