David Sancho's Avatar

David Sancho

@david.sancho.dev

Software engineer. React in OCaml at @ahrefs with styled-ppx, reason-react, server-reason-react, Reason and Melange.

1,887 Followers  |  916 Following  |  738 Posts  |  Joined: 05.05.2023  |  1.8877

Latest posts by david.sancho.dev on Bluesky

Preview
PHP 8.5 Adds Pipe Operator: What it means The PHP Foundation β€” Supporting, Advancing, and Developing the PHP Language

Lol, PHP got a pipe operator before we were able to put one into JavaScript thephp.foundation/blog/2025/07...

We're still working on it! We all just stopped to go do more productive things for a bit!

05.08.2025 21:15 β€” πŸ‘ 11    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0
Post image

Let's run a workshop in fun-ocaml, should we?

05.08.2025 16:03 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

replace "single annecdote" with "the entire worlds public knowledge" + trained on your previous conversation, but otherwise yeah

05.08.2025 12:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Some of you should change the "strong opinions,
loosely held" by

Strong opinions, extrapolated from a single anecdote, backed by nothing but confidence.

05.08.2025 10:55 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image 04.08.2025 22:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

one more ppx bro, it truly makes a difference bro, one more and we got it

04.08.2025 22:13 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

why you need to be a great influencer to be a successful open source developer 😰

04.08.2025 16:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Melange single context dune libraries are actually insane

01.08.2025 10:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

some year they will be right, thought, hopefully

01.08.2025 07:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

weird new year's resolution for openai

31.07.2025 14:56 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Surprisingly, react element hoisting and resources are the features that took me the most to implement in server-reason-react. They seem simple, but carry a ton of complexity.

I think I already said it, but holy mama RSC are so cool

30.07.2025 16:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Happy that html_of_jsx works great for you ^^

Let me know if there's any issue

30.07.2025 11:15 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

mlx is ❀️‍πŸ”₯

30.07.2025 11:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

In Tailwind 4 I couldn't find a way to create color tokens that are restricted to specific utilities. A custom color token (like --color-x: #333) becomes available for all color classes (bg-x text-x border-x etc)

I swear this was possible in v3. I don't see it on the changelog or upgrade guide πŸ€”

29.07.2025 21:24 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Coool! React.use works in a similar fashion as other hooks, by indexing, right?

29.07.2025 10:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

drink a lot during the day, stop 2h before bed

29.07.2025 05:45 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

React 19 is broken with reason-react in development due an issue with useState/useReducer arity added by the Closure compiler.

as always, in an opam-repository near you πŸ˜€

did I cook enough with the relase image?

22.07.2025 12:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

New reason-react version released today (0.16.0)

Support for @reactjs 19.1 (use, useActionState, useOptimistic), stable
useTransition, integration with RSC, documentation updates, Melange 5.x, and more!

Work by me (@sancho.dev) @tatchi.bsky.social _anmonteiro and __r17x

22.07.2025 12:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

the saga continues, and it's the last step!

- fixed the issue in react.js
- React gets published with the fix under 19.1
- updated reason-react with 19.1 (fixes the issue!)
- migrate the entire frontend to React 19.1
- publish reason-react 0.16.0 with React 19.1 support

22.07.2025 08:22 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

the fun part is that is hard to tell if its a joke or not... and not knowing ken makes it totally possible to be one

20.07.2025 16:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

trolling as it didn't happen or as trolling irl?

honestly i can't handle more lies, hope he does this shit irl

19.07.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

we will never know

19.07.2025 20:51 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

why always someone with "open to work"?

19.07.2025 10:55 β€” πŸ‘ 27    πŸ” 2    πŸ’¬ 13    πŸ“Œ 1

I assumed the opposite for a long time. Uniqueness health for women seems less studied, for ex menstrual pain or complications of pregnancy

14.07.2025 11:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This sounds great to learn about. Another one-man-army pushing the OCaml ecosystem

09.07.2025 13:00 β€” πŸ‘ 9    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

my english sucks, does that stop me from posting, sharing and being out there? fuck no

If you see me writing shit, please correct me, teach me. I didn't get a proper education, hopefully you understand, also happy to speak spanish/catalan if you are able to understand

08.07.2025 16:02 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Thanks for sharing, will read it

04.07.2025 16:49 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

wake me up when LLMs can run code migrations at perfection

04.07.2025 10:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

bad day today

i read your posts on here

03.07.2025 16:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

true, but Something_case needs a name...

02.07.2025 09:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@david.sancho.dev is following 20 prominent accounts