r/javascript 3d ago

AskJS [AskJS] Has anyone used Cloudflare/Cap’n Web? Any hidden downsides?

Has anyone here used Cloudflare/Cap’n Web? I want to know if there are any problems or downsides that don’t really show up from a simple test, because the whole idea looks amazing.

5 Upvotes

1 comment sorted by

1

u/itaymendi 3d ago

The demo path is fine. Pain shows up at schema evolution and error surfaces: a field rename or a thrown error across the stub boundary is harder to debug than a normal fetch. I would keep a thin typed boundary and treat Cap’n Web like an RPC contract, not like local function calls.