Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ml-in-barcelona/server-reason-react
Server rendering Reason React components with OCaml natively
https://github.com/ml-in-barcelona/server-reason-react
ocaml reason reason-react
Last synced: about 2 months ago
JSON representation
Server rendering Reason React components with OCaml natively
- Host: GitHub
- URL: https://github.com/ml-in-barcelona/server-reason-react
- Owner: ml-in-barcelona
- License: mit
- Created: 2022-09-08T11:34:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T15:06:07.000Z (5 months ago)
- Last Synced: 2024-04-20T00:54:27.363Z (5 months ago)
- Topics: ocaml, reason, reason-react
- Language: OCaml
- Homepage: https://ml-in-barcelona.github.io/server-reason-react/local/server-reason-react/index.html
- Size: 4.21 MB
- Stars: 116
- Watchers: 9
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
> **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](https://app.ahrefs.com) for all users and [wordcount.com](https://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](https://discord.com/users/122441959414431745) or [Twitter](https://www.twitter.com/davesnx).# 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](https://sancho.dev/blog/server-side-rendering-react-in-ocaml)
### [Documentation](https://ml-in-barcelona.github.io/server-reason-react/local/server-reason-react/index.html)