This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-17
Channels
- # bangalore-clj (2)
- # beginners (51)
- # boot (20)
- # cider (14)
- # clara (1)
- # cljs-dev (14)
- # cljsrn (50)
- # clojure (140)
- # clojure-dev (5)
- # clojure-france (1)
- # clojure-gamedev (3)
- # clojure-italy (4)
- # clojure-poland (3)
- # clojure-russia (8)
- # clojure-sg (1)
- # clojure-spec (64)
- # clojure-uk (51)
- # clojurescript (54)
- # core-typed (1)
- # data-science (2)
- # datomic (61)
- # docker (1)
- # emacs (6)
- # events (1)
- # graphql (1)
- # hoplon (14)
- # leiningen (8)
- # luminus (3)
- # mount (6)
- # off-topic (18)
- # om (17)
- # parinfer (34)
- # pedestal (47)
- # play-clj (1)
- # protorepl (1)
- # re-frame (56)
- # reagent (11)
- # ring-swagger (5)
- # rum (6)
- # sql (1)
- # uncomplicate (2)
- # vim (3)
- # yada (31)
so I want to have a sexp that returns a reagent component, then I want cider to, instead of displaying the data, render the element in a browser and display it
@qqq that is an interesting idea, display hiccup in a browser? If so you could work in Dirac (Google dev tools for Cljs)
well, if it's returning a reagent component it would seem like it needs quite a bit of infrastructure to display, ie, all of the subscriptions, etc. so it would need to be in a clojurescript repl. then there would be the dependencies required like CSS. but newer versions of emacs have a webkit browser accessible to them so perhaps this would be possible. but quite a bit of code required to do so
@qqq proto-repl (atom plugin) could probably do something similar: https://atom.io/packages/proto-repl