Fork me on GitHub
#hoplon
<
2017-01-18
>
gryffindorstudent14:01:09

@thedavidmeister I was looking for a full stack example with RPCs

gryffindorstudent14:01:56

Actually I found some in hoplon/demos :D

thedavidmeister14:01:10

how you finding it?

thedavidmeister14:01:16

need a hand with anything?

gryffindorstudent14:01:15

I'll post here if I do!

gryffindorstudent14:01:00

One thing that was kind of disappointing was that you can't have live reloading like in figwheel + react-based framework

gryffindorstudent14:01:09

Does everyone just refresh the page?

thedavidmeister14:01:28

you can have live reloading

gryffindorstudent14:01:09

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?

thedavidmeister14:01:20

although i personally refresh because i broke it somehow and haven't fixed it yet 😛

thedavidmeister14:01:25

but yes it works like that

thedavidmeister14:01:39

if you start a fresh project with the template i linked earlier it already has that in it

thedavidmeister14:01:11

i dare say i'm the only one in this chat room without a live reload

candera14:01:10

I don’t do live reload on my Hoplon apps.

candera14:01:23

I don’t even get to use boot-reload due to problems with web workers.

candera14:01:34

Lots of manual refresh, but it’s not bad.

candera14:01:44

I worked on Visual Studio for a while - the build was 12 hours.

thedavidmeister14:01:02

@candera i thought @alandipert had a fix for you for that?

thedavidmeister14:01:21

i'm suspicous that i just haven't configured my asset paths right

candera14:01:29

Haven’t upgraded anything yet to try.

thedavidmeister14:01:09

oh right, i'm pretty sure there was a solution for web workers

candera14:01:39

Well, given that all it would do would be to refresh the page it’s not a priority for me to try.

thedavidmeister14:01:04

that's sort of where i am too 😛

thedavidmeister14:01:16

once i moved everything into a pattern library with examples

thedavidmeister14:01:34

and tested functionality with unit tests

thedavidmeister14:01:42

there's not even much refreshing going on

thedavidmeister14:01:21

i sort of just... make what i want work "in the lab", style it up in the chrome inspector

thedavidmeister14:01:26

then i'm mostly done

thedavidmeister14:01:46

i've fixed a fair number of bugs lately without even logging in...

candera14:01:43

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.

thedavidmeister14:01:52

i saw that popup in boot chat @donmullen

thedavidmeister14:01:00

i'll test it out for sure

thedavidmeister14:01:06

my gf bugs me about it every few weeks

thedavidmeister14:01:29

always good to know there are multiple options 🙂

thedavidmeister15:01:18

actually @meeli is probably lurking in here ^^ figwheel for hoplon

grant20:01:23

Anybody have any experience with semantic-ui and hoplon? The wiki just has a link to https://github.com/degree9/semui-hl, nothing more.

mynomoto21:01:39

@grant I think @flyboarder may tell you more about that.

grant21:01:23

Ah, cool, thanks.

grant21:01:33

Was looking at https://github.com/degree9/semui-hl and wasn't sure where to start.

flyboarder21:01:00

@grant Ah perfect, yes so there is probably no good documentation right now, I am here to help you with anything you need tho

flyboarder21:01:06

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

flyboarder21:01:41

So you will need a link tag to the CSS file and then just reference the elements as per usual

grant21:01:43

Do you need to require anything in the ns or just place the package in your build.boot deps?

grant21:01:26

@flyboarder I've tried requiring semantic-ui, but the namespace can't be found.

flyboarder21:01:53

You will need to require each namespace you want to use

grant21:01:37

Ah, so semantic-ui.elements.header.

grant21:01:57

Cool, thanks.

mynomoto23:01:47

@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.