State of ClojureScript 2025 Survey
State of ClojureScript 2025 Survey is live state-of-clojurescript.com If you ever wanted to know what's happening in cljs world, and using the language at work or for hobby projects, fill out the survey. And share it with others! Results will be shared in January next year.
30.10.2025 13:28
π 0
π 0
π¬ 0
π 0
Largest attack on Ukraine last night yet, but yeah, clearly Putin is open to peace and Trump will personally solve this in uh how long ago was that supposed to happen? www.france24.com/en/europe/20...
29.06.2025 11:33
π 9
π 2
π¬ 0
π 0
drones drones multiple days in a row, funny how you get used to shots and explosions
17.06.2025 11:18
π 1
π 0
π¬ 1
π 0
Thanks!
05.06.2025 16:40
π 2
π 0
π¬ 0
π 0
Error boundaries have been supported in my implementation of server-side rendering almost from the beginning. Under the hood they are a try-catch, synchronously retrying the rendering with the captured error.
05.06.2025 13:45
π 1
π 0
π¬ 0
π 0
got React Context working across server and client components in my Clojure implementation of RSC
while context is not supported in js implementations, in Clojure it aligns quite nicely with `binding` macro, so it would be a shame to not have this working across the boundary
05.06.2025 13:26
π 6
π 0
π¬ 2
π 0
iirc Next also implements secure scope capturing, which is even more questionable, but at least the data is not exposed to the client. IMO all bound args should be stored on server, tied to user session.
02.06.2025 11:41
π 1
π 0
π¬ 1
π 0
How do you find the concept of partial application of server functions on the backend? I did implement it, but it fees like a huge footgun to me, given that bound values are exposed to a client.
02.06.2025 11:37
π 2
π 0
π¬ 1
π 0
Not great for perf, but probably negligible. EDN is a native wire format in Clojure, so developer experience here matters more than performance.
02.06.2025 08:56
π 1
π 0
π¬ 1
π 0
Interesting. In Clojure we use persistent data types to pass data around, and in my impl Iβve decided to embed the data (in EDN format) into RSC payload. This means double parsing Flight -> JSON -> embedded EDN -> Clojure types.
02.06.2025 08:54
π 1
π 0
π¬ 1
π 0
Thatβs what I do in Clojure impl as well. Both, client components and server functions have to be marked explicitly.
02.06.2025 08:10
π 1
π 0
π¬ 0
π 0
Nice! Any interesting observations on how RSC implementation in OCaml is different from JS?
01.06.2025 20:28
π 2
π 0
π¬ 1
π 0
rebuilt this React Router demo with my Clojure port of RSC, still wip but lots of stuff already working uix-rsc-movies.fly.dev
21.05.2025 13:59
π 6
π 1
π¬ 0
π 0
Yeah its primary use case is data transmission between services and/or clients written in Clojure. For JS target itβs json based, but otherwise its binary and should probably support async values, though itβs an exotic requirement (outside of RSCs if I might guess)
19.05.2025 14:49
π 0
π 0
π¬ 0
π 0
Iβll be there sharing my experience with Clojure in WASM π
17.05.2025 19:06
π 3
π 0
π¬ 0
π 0
// Import Attributes
import data from "./resource.json" with { type: "json" };
It was about time, wasn't it? π
π
But now, with Firefox 138 all major browser engines support import attributes to import JSON from within your ECMAScript modules. π
β
Chromium: 123+
β
Safari: 17.2+
β
Firefox: 138+ (released 2w ago)
PS. This syntax works in modern Node.js, too!
15.05.2025 10:46
π 124
π 36
π¬ 5
π 3
ooh now I get it, ok, I got an impression that RSC's model is not limited to server->client but wasn't sure since everywhere I read it's explicitly mentioning that interleaving is a no no
14.05.2025 14:25
π 0
π 0
π¬ 1
π 0
afaik this is also doable in RSC, just that the server component must be passed as a prop to a client component
14.05.2025 14:01
π 0
π 0
π¬ 1
π 0
Having server as a shell with client components at leaves makes a lot of sense, and it's easy to understand. I don't know electric well, but this demo demonstrates the idea electric.hyperfiddle.net/tutorial/dir... and I think it's a valid use cases as well.
14.05.2025 14:00
π 0
π 0
π¬ 1
π 0
I'm working on Clojure port of RSC, more info in these blog posts romanliutikov.com/blog/towards... romanliutikov.com/blog/towards...
not sure if it makes sense to differentiate between backend languages for rsc, but it's interesting to see how those concepts are shaped by different platforms
14.05.2025 12:50
π 10
π 2
π¬ 1
π 0
Someone asked me to print a couple of pages recently, I spent an hour figuring out how to connect and then print on both sides of a paper correctly π€¦
09.05.2025 09:27
π 3
π 0
π¬ 0
π 0
Thanks!
09.05.2025 07:11
π 1
π 0
π¬ 0
π 0
maybe that's my bubble, where do you get the data from?
08.05.2025 18:56
π 1
π 0
π¬ 1
π 0
is that mentality still holds true among devs who came to frontend in the past ~5 years? I'm under impression that folks just don't think about it anymore and use frameworks to get their jobs done
08.05.2025 18:05
π 0
π 0
π¬ 1
π 0
GitHub - hyperfiddle/electric: Electric Clojure: full-stack differential dataflow for UI
Electric Clojure: full-stack differential dataflow for UI - hyperfiddle/electric
yeah that's what I mean, should add an example with props passing, thanks
I was thinking more about Electric Clojure framework here, which allows arbitrary composition github.com/hyperfiddle/...
08.05.2025 09:28
π 0
π 0
π¬ 1
π 0
thanks! good point, I'll redact that missinfo
08.05.2025 09:26
π 0
π 0
π¬ 0
π 0