This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-21
Channels
- # aws (2)
- # bangalore-clj (14)
- # beginners (20)
- # boot (20)
- # cider (7)
- # cljs-dev (38)
- # cljsrn (13)
- # clojure (487)
- # clojure-argentina (3)
- # clojure-dev (15)
- # clojure-gamedev (4)
- # clojure-italy (3)
- # clojure-poland (1)
- # clojure-russia (1)
- # clojure-spec (25)
- # clojure-uk (47)
- # clojurescript (127)
- # datomic (125)
- # defnpodcast (1)
- # hoplon (27)
- # jobs (4)
- # lein-figwheel (2)
- # leiningen (1)
- # luminus (5)
- # off-topic (3)
- # om (25)
- # onyx (9)
- # parinfer (3)
- # pedestal (20)
- # planck (65)
- # re-frame (43)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (2)
- # rum (9)
- # spacemacs (1)
- # unrepl (37)
- # vim (1)
@avabinary and {:name "Paula" :id 1}
is an example of a response?
hello o/, what is the best way with hoplon (cljs) if I want integrate a particular html/css theme ? what are the best practices ?
@avabinary shouldn't the initial state for :users-to-edit
in the app state be [{}]
then rather than {}
?
or just []
@ejemba up to you, hoplon functions just return detached dom elements so you can do either
would really depend on what you are trying to integrate and what you are trying to achieve
@thedavidmeister I have an admin html theme I want to buy on themeforest and I know they can be huge
@ejemba have you used hoplon much before?
if it's just HTML/CSS you're buying you can go either way
the default is to just build the whole thing in hoplon
but if you have to work with some existing JS then it really depends on how that JS works
@thedavidmeister nope, it is my first POCs
maybe worth playing around with it a bit before trying an integration
just to get a feel for it
@ejemba yeah there is somewhere i think
@micha this exists doesn't it? ^^
but manually it's just <div class="foo">Hello world</div>
becomes (div :class "foo" "Hello world")
the div hoplon function returns a div dom element
@thedavidmeister @ejemba yeah it's the html2cljs
task in boot-hoplon