This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-16
Channels
- # beginners (7)
- # cider (128)
- # clara (9)
- # clojure (7)
- # clojure-norway (3)
- # clojure-spec (2)
- # clojure-uk (16)
- # clojurescript (79)
- # css (1)
- # datomic (2)
- # devcards (1)
- # editors (39)
- # euroclojure (4)
- # events (1)
- # figwheel (25)
- # fulcro (1)
- # luminus (3)
- # off-topic (15)
- # om (3)
- # onyx (10)
- # protorepl (8)
- # reagent (5)
- # reitit (1)
- # shadow-cljs (95)
- # tools-deps (6)
Does anyone know of any good examples for full Clojure web apps passing transit
back and forth between server and client in ajax requests?
sente uses transit and can be configured to use ajax (though it prefers websockets)
ah.. nevermind I think... I just found that since use
also refers
... that using require
is preferred to avoid namespace collisions. Correct?
exactly right. also there's interest in people reading your code to see the prefix namespace where it came from without having to remember all of the constituent parts of each imported namespace
➕ 4
4
How do I change the way a record displays in repl or when printed?
@montanonic something like
(defmethod clojure.core/print-method YourRecord
[your-record ^java.io.Writer w]
(.write w some-code-here-that-returns-your-string-representation))
👍 4