This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-16
Channels
- # ai (5)
- # announcements (47)
- # aws (11)
- # babashka (20)
- # beginners (85)
- # biff (1)
- # calva (72)
- # cider (9)
- # clj-kondo (37)
- # cljfx (9)
- # cljs-dev (1)
- # clojars (2)
- # clojure (61)
- # clojure-berlin (2)
- # clojure-europe (189)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-uk (2)
- # clojurescript (51)
- # conjure (3)
- # cursive (4)
- # data-science (6)
- # datomic (6)
- # events (5)
- # fulcro (16)
- # gratitude (9)
- # holy-lambda (9)
- # introduce-yourself (6)
- # lsp (13)
- # malli (8)
- # membrane (2)
- # off-topic (47)
- # pedestal (11)
- # re-frame (15)
- # reitit (1)
- # releases (2)
- # rewrite-clj (6)
- # rum (4)
- # shadow-cljs (2)
- # tools-deps (3)
- # xtdb (25)
- # yada (13)
is there a way to get the error/stacktrace when I'm evaluating expressions in cider? seems like since this returns a promise I just get the promise printed, and stuff gets updated "later", at which point I don't see anything even if the app blows up
like lets say I do (defn root [] ...)
instead of (defn root [{:keys [title]}] ...)
and eval the buffer, it seems to just work, but I don't get any window to show up --- iirc there was another case where I could eval something and it would error out and close the window but I'd not get an error message because calling (renderer)
returns a pending promise
is there a way to use a var-quoted function instead of just the function in a component definition? as in to use :fx/type #'my-component
instead of :fx/type my-component
, so that I wouldn't have to re-evaluate every single component definition that uses my component to get the UI to update?
is there some way to make the stacktraces more filtered/reasonable? for example when I have an invalid url for an image-view
the resulting stacktrace is 500 lines, and they all look the same so it's a bunch of scrolling up in cider repl on every error 😩 I guess if I deref I get the error at the bottom too tho which is nicer, but the output is still gigantic