This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-12
Channels
- # announcements (1)
- # babashka (79)
- # beginners (165)
- # calva (29)
- # cider (20)
- # clara (3)
- # cljdoc (1)
- # cljs-dev (52)
- # clojure (42)
- # clojure-chicago (5)
- # clojure-europe (48)
- # clojure-germany (1)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-spec (10)
- # clojure-uk (19)
- # clojurescript (50)
- # clojureverse-ops (5)
- # conjure (8)
- # datomic (16)
- # depstar (2)
- # events (1)
- # figwheel-main (23)
- # fulcro (26)
- # girouette (41)
- # graalvm (9)
- # heroku (3)
- # honeysql (10)
- # jackdaw (20)
- # lambdaisland (6)
- # lein-figwheel (1)
- # lsp (34)
- # malli (7)
- # meander (3)
- # music (1)
- # off-topic (14)
- # polylith (7)
- # re-frame (14)
- # reitit (8)
- # reveal (15)
- # ring (3)
- # schema (1)
- # sci (15)
- # shadow-cljs (42)
- # spacemacs (1)
- # startup-in-a-month (12)
- # tools-deps (59)
- # vim (1)
- # xtdb (27)
This one is deployed to heroku. It has a server part, if that’s what you are asking about. The specifics of creating it on heroku is a matter of following heroku’s tutorial
Hello, I don't understand why I'm not getting any reaction here: https://gist.github.com/qleguennec/8972c880c8baa0e7dc3800ae3fec1737 Based on my understanding of re-frame, the println call line 12 should be called when I evaluate the last do form.
You probably want to use reagent.ratom/run!
instead. Although I'm not sure if it'll work outside of a reactive context.
In any case, subscribe
is designed to be used only within views. Any other usage is, I'd say, an undefined behavior.
And (subscribe ...)
returns a regular Reagent reaction. If some Reagent machinery doesn't work with it, then it's a topic better suited for #reagent
Hi, how do I retrieve the language of the user. I used a specific variable in the db, but I would like to use a default value depending on the user default language, something like accept-language
in the http header?
You might want to have a look at https://github.com/tonsky/tongue. It’s an internationalization library and you might or not want to use it directly, but either way the code might be of interest.
(I haven’t used it myself, I just happened to stumble across it recently and it seemed related to your question.)