New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example how to use for Clojure. #49
Comments
I'm busy hacking something together, making it just Clojure to keep it simple. |
Hi @gklijs You're not doing anything wrong, the code should be identical to cljs. You're right, it never becomes 'ready' because of a mistake in the creation of the websocket. I should be able to do a new build soon. Thanks for reporting! |
Probably not only the creation but also how to send the payload, I copied the bit I needed, and made it clojure ony, and now use (defn- send-ws
[ws-connection payload]
(ws/send-msg ws-connection (json/encode payload))) to send. |
Hi, Yes I found that too. I've made this fix and others relating to http in the latest release I would agree that for a performance/load test you might be better off using the underlying websocket directly, re-graph adds some indirection and re-frame in clj is also not designed for performance. Thanks for reporting this and letting me know about the conference - hope it goes well and I'd be interested to watch your talk after if it's going to be online. Cheers |
I tried to use re-graph from Clojure, but could not get it to work. I tried several things, the latest using the 'plain javascript' style.
The text was updated successfully, but these errors were encountered: