hyperfiddle

Piotr Roterski 2025-02-12T05:01:34.678919Z

Hello 👋 I've discovered a weird dependency conflict between electric v3-alpha-SNAPSHOT and https://github.com/kkinnear/zprint (`1.2.9` ). When I add [zprint.core :as zp] to ns requires, and then start the repl, it throws an error (snippet in the thread) crashing the startup. However if I remove [zprint.core :as zp], start the repl and electric server, and then add this [zprint.core :as zp] back in, I can use the library just fine and nothing throws. 🤔

Piotr Roterski 2025-02-12T05:02:26.930529Z

xificurC 2025-07-10T09:06:49.808709Z

I finally got to this and it's fixed on trunk, next snapshot release will include the fix

❤️ 1
🎖️ 1
xificurC 2025-02-12T08:36:21.831439Z

This is on us to fix. Zprint uses sci and sci uses the cljs analyzer. We analyze electric code with our own cljs analyzer and don't initialize the clojurescript compiler/analyzer. Therefore cljs libraries calling into the cljs analyzer API can fail. We need to special case such libraries internally

🙌 1
1
2025-02-12T18:30:34.503369Z

Is there any existing support for ClojureScript on the server as well as the client? Though I remembered a discussion about that a while back but wasn't able to find it. 🤔

2025-02-12T18:31:10.422939Z

Specifically interested in getting an example running on CloudFlare durable objects' websockets

Dustin Getz (Hyperfiddle) 2025-02-12T18:44:46.542269Z

it is possible but we are a bit overloaded right now so let's call this work "unfunded"

2025-02-12T18:46:02.341439Z

Fair enough! Exciting potential deployment platform for the future. 🙂

🙂 1