Fork me on GitHub
#hoplon
<
2017-06-12
>
cycle33707:06:32

I have a problem routing on admin

cycle33707:06:27

(case-tpl route
        "#dashboard" (p "ASD" (println "we have liftoff"))
        (login-view :props app-state))))

cycle33707:06:46

it only logs to console the println but does not render the paragraph

cycle33707:06:50

can you please help me ?

dm307:06:59

is your case-tpl wrapped in an element, like a div?

cycle33707:06:45

let me check

cycle33707:06:29

it works now

cycle33707:06:36

sorry to bother you :))

cycle33707:06:51

that was a simple gotcha that I overlooked

mudphone23:06:08

I’m seeing a big reduction in my boot dev “Elapsed Time” when I reduce the number of .hl files in my project (even if the content is the same, just on less pages). Does that jive with expectations, or am I doing something weird?