This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-06
Channels
- # announcements (33)
- # babashka (13)
- # babashka-sci-dev (23)
- # beginners (94)
- # calva (105)
- # cider (37)
- # circleci (1)
- # clj-kondo (45)
- # cljs-dev (59)
- # cljsrn (2)
- # clojure (145)
- # clojure-czech (1)
- # clojure-europe (19)
- # clojure-nl (18)
- # clojure-norway (13)
- # clojure-portugal (1)
- # clojure-uk (5)
- # clojurescript (19)
- # community-development (2)
- # conjure (3)
- # copenhagen-clojurians (1)
- # core-async (34)
- # data-science (6)
- # datomic (25)
- # emacs (43)
- # fulcro (19)
- # graalvm (7)
- # graalvm-mobile (12)
- # graphql (10)
- # honeysql (3)
- # hyperfiddle (3)
- # improve-getting-started (2)
- # interop (20)
- # kaocha (3)
- # lsp (16)
- # meander (7)
- # off-topic (22)
- # other-languages (14)
- # portal (15)
- # releases (1)
- # rewrite-clj (2)
- # ring (1)
- # shadow-cljs (119)
- # spacemacs (19)
- # sql (65)
- # testing (4)
- # tools-deps (11)
- # xtdb (29)
Is there any reason this:
(portal.web/eval-str
(portal.ui.commands/copy portal.ui.state/state))
wouldn't work while other commands like select-next
would if used in the same way?https://clojurians.slack.com/archives/C0185BFLLSE/p1648055041117329?thread_ts=1647891314.417949&cid=C0185BFLLSE is my best guess
In the end this is what I do instead when I want to copy something from portal:
(defun portal-copy ()
(interactive)
(insert (nrepl-dict-get (cider-nrepl-sync-request:eval "@p") "value")))
@U1G869VNV @UJCC6CE9E ^💯 1
Semantic curiosity: what does it mean to call (portal.web/open)
multiple times? Does it just reuse the same portal? (Asking to understand better hot reload)
I mean, I quite like this behavior, it means that I can just (p/open) at each reload
👍 1
1