29 ms·
Agreed on Js_of_ocaml as a stable choice. However, even Js_of_ocaml is suffering a slight complication :P There is the recent release of Brr https://erratique.
by antron-prime 5y ago
Agreed on Js_of_ocaml as a stable choice.
However, even Js_of_ocaml is suffering a slight complication :P There is the recent release of Brr https://erratique.ch/software/brr/doc/ https://erratique.ch/software/brr/doc/, a Js_of_ocaml library replacement (i.e. you keep the compiler but use this instead of the library that comes with Js_of_ocaml).
I heard good reviews of Brr, but haven't tried it myself yet. We will probably have a Brr full-stack example in Dream, eventually.
Personally, I currently use
- Dream on the server (an ancient version, didn't have time to keep up with Dream development in my own app!).
- Just plain JS and the JS ecosystem on the client.
- ReScript/Melange for compiling a couple files to JS from OCaml so that they can trivially interop with my mostly-JS client.