David Sancho
banner
david.sancho.dev
David Sancho
@david.sancho.dev
Open Source UI infra at @ahrefs.bsky.social with OCaml

Made styled-ppx and server-reason-react
Working on reason-react / Melange / Reason
The company pays.

I like the direction of conductor. The agent's mode in cursor is very similar, but I'm not using it much.

Mostly my usage is to translate spec into tests, or debug stuff
November 13, 2025 at 7:12 PM
trying tomorrow! Will report back
November 13, 2025 at 12:15 AM
Absolutely, that's the entire point!

Follow our book in case you want a guided approach: react-book.melange.re/intro, also, feel free to ask me any question!
Melange for React Developers | Melange for React Devs
A project-based, guided introduction to Melange and its ecosystem for React developers
react-book.melange.re
November 10, 2025 at 3:50 PM
sleepInNextMicroTask

sleepInTheStack (aka, the real sleep)
November 10, 2025 at 2:00 PM
Reason is just a syntax on top of OCaml, so everything that works in OCaml, works with Reason. ocaml-lsp-server, dune, odoc, opam, and all the OCaml ecosystem.

(Since I know you know OCaml, no need to sell it :P)
November 10, 2025 at 12:10 PM
Reason and ReScript are very different nowadays. They have a past together with BuckleScript.

ReScript is HM, nice syntax, fast compiler, etc maybe less fp as reason, but still good and tightly integrated with the JavaScript ecosystem: npm, shipping prebuild binaries, their own lsp
November 10, 2025 at 12:10 PM
xdddd
November 9, 2025 at 10:36 AM
I tell it to always eval $(opam env), and works great
November 7, 2025 at 11:03 AM
dune is getting package installation and is trying to replace opam, so I would say its simplifiying things (and doing some good decisions for dx and performance)

but sexpressions and weird defaults and non-obious broken _builds are still part of the game yeah
November 6, 2025 at 7:01 AM
TELLME
October 19, 2025 at 9:47 PM
Thanks moritz
October 15, 2025 at 8:20 PM
It's Belt, mostly designed for Melange and OCaml, but yeah, another Stdlib (only in Melange compilation, though), sort of, there's one implementation by me in native

I know, sad ocaml words
October 15, 2025 at 7:00 PM
there's "act" which does half of the job and isn't perfect, but catches a few common errors...

i stopped using it since I was doing 2 sessions of throwing things at the wall
October 15, 2025 at 1:23 PM