mount
mount copied to clipboard
managing Clojure and ClojureScript app state since (reset)
At the moment there isn't a lot of guidance on how to deal with exceptions inside `defstate` start/stop methods. My case is mostly related to bad config - if a...
hello, I'm a newbie in clojure & clojureScript, just try to learn and have fun with this amazing language. currently, I faced a problem, I try to use rum +...
After switching to ClojureScript 1.10.844: ``` WARNING: Wrong number of args (1) passed to goog.log/getLogger at line 9 app/web/js/out/mount/tools/logger.cljc WARNING: Wrong number of args (2) passed to goog.log/error at line...
Hey Anatoly. Mount looks pretty cool - I like the idea of using the build system to handle dependencies instead of reimplementing the dependency graph. Been using boot-clj, system.component and...
Hi, I am having problems to https://github.com/tolitius/mount/issues/102 (which should be solved now). Any name defined using `defstate` cannot be resolved. The project I am working on is open sourced here:...
Hi, I'm using mount in ClojureScript and I'm having a hard time figuring out how to deal with async code inside a state start. How does component B that depends...
After a grueling multi-day trial-and-error debugging session I have finally confirmed that it is possible for the `:start` method to be called twice by mount in ClojureScript. I suspected this...
redis.clj: ``` (ns proj.redis (:require [celtuce.connector :as conn] [taoensso.timbre :as log] [mount.core :as mount] [proj.global :as g])) (mount/defstate redis-client :start (let [port (get-in @g/config [:port :redis]) connector (conn/redis-server (str "redis://localhost:"...
Hi, Sorry to post here instead of Slack (blocked by proxy), and it might be a bit of a noob question, but I've got trouble finding documentation on Mount regarding...
I think I found a bug in mount. Example code is below, here's a description how to trigger it: Using cljc mode in Clojure (not ClojureScript). I make a defstate...