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. 🤔
I finally got to this and it's fixed on trunk, next snapshot release will include the fix
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
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. 🤔
Specifically interested in getting an example running on CloudFlare durable objects' websockets
it is possible but we are a bit overloaded right now so let's call this work "unfunded"
Fair enough! Exciting potential deployment platform for the future. 🙂