This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-25
Channels
- # aws (2)
- # beginners (57)
- # boot (31)
- # carry (15)
- # cider (9)
- # cljs-dev (9)
- # cljs-experience (32)
- # cljsrn (94)
- # clojure (129)
- # clojure-dusseldorf (3)
- # clojure-greece (4)
- # clojure-italy (8)
- # clojure-norway (3)
- # clojure-russia (344)
- # clojure-sg (39)
- # clojure-spec (2)
- # clojure-uk (39)
- # clojurescript (84)
- # core-async (99)
- # cursive (10)
- # data-science (1)
- # datascript (4)
- # datomic (66)
- # emacs (10)
- # graphql (4)
- # hoplon (28)
- # jobs (15)
- # luminus (3)
- # lumo (5)
- # off-topic (23)
- # om (4)
- # onyx (32)
- # pedestal (24)
- # re-frame (2)
- # reagent (7)
- # ring-swagger (32)
- # spacemacs (4)
- # untangled (57)
- # utah-clojurians (1)
Thanks @flyboarder , what do you mean by “include hoplon normally?”
@mudphone like as a regular cljs namespace, require hoplon.core
and hoplon.jquery
@flyboarder hmmm, I was able to recreate the same problem after chaning src/index.cljs.hl
to src/app/main.cljs
and including hoplon.core
… I’ll update the repo…
That's strange, I'll take a look at the updated repo in the morning
what is fundamentally the difference between DEFN and DEFELEM when creating a custom element ?
defelem is a macro with the convenience of taking a map of attributes and child nodes: https://github.com/hoplon/hoplon/wiki/Composing-HTML-%28defelem%29
@mudphone it looks like when you do not use a (div as the first tag and wrapper it does not work properly. is this right ?
yeah, I think one caveat is that if you’re using a template macro you may need to nest it in an element: https://github.com/hoplon/hoplon/wiki/Dynamic-DOM-manipulation-aka-Template-Macros
hi, in hoplon what piece of code would result in this vector of of 5 (br): [ (br) (br) (br) (br) (br) ]
@jouerose (repeatedly 5 br)
@thedavidmeister yes working , thank you
On the wiki page on editor, intellij/cursive is not mentioned. I did not find in the repositories some boot plugin. has anyone managed to get boot based hoplon working fine in intellij ?
IDEs like declarative build systems a lot better
and depends on what you mean by “working”
I have found that getting an interactive ClojureScript REPL working in any environment with boot/hoplon to be a lot of effort
cpmcdaniel: Oh man, I hear you. I just got CIDER and boot-cljs-repl working with Hoplon/Boot last night. I feel like I have to do this dance every time I start a new project.
but that may simply be because documentation is scattered and sometimes out of date
@cpmcdaniel will have a quick try at neovim , see what happens
part of the problem is that there a SO many editors/IDEs, and cljs is still very young
hoplon and boot are even younger still
language and libraries >>> tools