This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-24
Channels
- # adventofcode (4)
- # announcements (1)
- # aws (6)
- # babashka (18)
- # babashka-sci-dev (18)
- # beginners (12)
- # calva (43)
- # circleci (3)
- # clj-kondo (96)
- # cljdoc (2)
- # clojure (89)
- # clojure-australia (2)
- # clojure-europe (26)
- # clojure-nl (3)
- # clojure-norway (11)
- # clojure-spec (8)
- # clojure-uk (1)
- # clojurescript (28)
- # cursive (25)
- # datahike (6)
- # datalevin (56)
- # datomic (12)
- # docker (15)
- # emacs (9)
- # events (2)
- # figwheel (3)
- # fulcro (15)
- # gratitude (10)
- # introduce-yourself (8)
- # lsp (16)
- # malli (6)
- # nbb (2)
- # off-topic (23)
- # other-languages (2)
- # pathom (4)
- # portal (25)
- # practicalli (1)
- # re-frame (9)
- # releases (1)
- # shadow-cljs (8)
- # sql (6)
- # timbre (3)
What exactly does portal.nrepl/wrap-portal
do?
It will intercept, format and tap> eval results. It will also proxy the results to the requesting client so it should most be a transparent value tapper.
And is it something you would wrap around an app like ring middleware? Or is it wrapped around function definitions?
I'm using the integrant repl so I'll need to figure out how to use this
Not sure. I'm using kit-clj so it is sort of a template for integrant projects using deps
I'll have to see if they left a middleware spot anywhere
Maybe @U0BKWMG5B can weigh in
https://github.com/kit-clj/kit/blob/master/libs/kit-nrepl/src/kit/edge/utils/nrepl.clj doesn't seem to allow for middleware
I don't have that block
I don't know what that nrepl block is for but I don't believe this project uses that kit nrepl. It's just calling "go" from integrant.repl
Sounds like kit had an idea for using that repl namespace but it's not being used right now in the projects you spin up with it
I can't seem to get Portal working with Clojurescript. It says I am missing "node-libs-browser" as a dependency and should npm install shadow-cljs
, but shadow-cljs is already installed. I've even manually installed node-libs-browser
and it doesn't work
I think I got this working. my setup is a bit confusing and I was trying to use the wrong api call in the browser repl thinking it was the node repl
Actually no, it's not working. I got this error.
Cannot set properties of null (setting 'onunload')
I'm using calva with shadow-cljs pointing to my deps.edn.
So portal is in a :shadow profile that both clj and cljs have access to
In my browser?