This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-18
Channels
- # bangalore-clj (1)
- # beginners (60)
- # boot (98)
- # cider (8)
- # clojure (158)
- # clojure-dusseldorf (16)
- # clojure-france (3)
- # clojure-hamburg (2)
- # clojure-mke (2)
- # clojure-russia (11)
- # clojure-serbia (1)
- # clojure-spec (123)
- # clojure-uk (59)
- # clojurescript (44)
- # code-reviews (16)
- # community-development (51)
- # core-async (46)
- # cryogen (1)
- # cursive (9)
- # datascript (5)
- # datomic (36)
- # emacs (3)
- # events (12)
- # hoplon (57)
- # jobs (1)
- # juxt (3)
- # klipse (55)
- # lein-figwheel (3)
- # leiningen (5)
- # luminus (3)
- # off-topic (8)
- # om (75)
- # om-next (9)
- # onyx (17)
- # pedestal (7)
- # portland-or (3)
- # proton (36)
- # protorepl (6)
- # re-frame (3)
- # reagent (33)
- # remote-jobs (1)
- # ring (23)
- # ring-swagger (2)
- # rum (1)
- # specter (1)
- # untangled (36)
- # yada (11)
@thedavidmeister I was looking for a full stack example with RPCs
Actually I found some in hoplon/demos :D
how you finding it?
need a hand with anything?
I'll post here if I do!
One thing that was kind of disappointing was that you can't have live reloading like in figwheel + react-based framework
Does everyone just refresh the page?
you can have live reloading
Oh does it work like figwheel where it preserves state? Like if I changed the background color of something in hoplon it would change it on screen immediately?
although i personally refresh because i broke it somehow and haven't fixed it yet 😛
but yes it works like that
if you start a fresh project with the template i linked earlier it already has that in it
i dare say i'm the only one in this chat room without a live reload
@candera i thought @alandipert had a fix for you for that?
i'm suspicous that i just haven't configured my asset paths right
oh right, i'm pretty sure there was a solution for web workers
Well, given that all it would do would be to refresh the page it’s not a priority for me to try.
that's sort of where i am too 😛
once i moved everything into a pattern library with examples
and tested functionality with unit tests
there's not even much refreshing going on
i sort of just... make what i want work "in the lab", style it up in the chrome inspector
then i'm mostly done
i've fixed a fair number of bugs lately without even logging in...
@gryffindorstudent @thedavidmeister @candera there is also now https://github.com/boot-clj/boot-figreload — haven’t tried it yet
That might actually be sort of handy. Generally my state is easy to recreate, but as my UI gets more involved there are times where I wouldn’t mind not having to do it.
i saw that popup in boot chat @donmullen
i'll test it out for sure
my gf bugs me about it every few weeks
always good to know there are multiple options 🙂
actually @meeli is probably lurking in here ^^ figwheel for hoplon
Anybody have any experience with semantic-ui and hoplon? The wiki just has a link to https://github.com/degree9/semui-hl, nothing more.
@grant I think @flyboarder may tell you more about that.
Was looking at https://github.com/degree9/semui-hl and wasn't sure where to start.
@grant Ah perfect, yes so there is probably no good documentation right now, I am here to help you with anything you need tho
The library is designed to mirror the CSS lib, it provides basic elements which are prestyled however you need to include the CSS on the page yourself, everything else is just a Hoplon element
So you will need a link tag to the CSS file and then just reference the elements as per usual
Do you need to require anything in the ns
or just place the package in your build.boot
deps?
@flyboarder I've tried requiring semantic-ui
, but the namespace can't be found.
You will need to require each namespace you want to use
@gryffindorstudent with some setup you can have live reloading on hoplon projects, github-client
has it. The :on-js-load
option of boot reload
and some defonce
is what you need.