Fork me on GitHub
#reagent
<
2015-09-01
>
mikethompson02:09:10

Where possible, can everyone please try out the new Release Candidate: Lein dependency: [reagent "0.5.1-rc"]

mikethompson11:09:46

And now: [reagent "0.5.1-rc2"]

mikethompson11:09:56

Please test on your projects and report back here

wqhhust12:09:38

I fixed one warning, but still get the warning of "Compile Warning Required namespace not provided for test_frame.core". What's the meaning of that means? Please check https://github.com/wqhhust/test_frame

mikethompson13:09:25

Should that be "test-frame.core/mount-root" ?

shaun-mahood14:09:59

@mikethompson: Moved a project using re-com and re-frame over to rc2, no obvious problems. Will let you know if I run into any.

sonnyto15:09:26

how do I detect that a component has been mounted? I tried adding with-metadata {:component-did-mount (fn [x] (println x)}

sonnyto15:09:35

but the function doesnt get executed

sonnyto15:09:41

even when the component has rendered

gadfly36115:09:00

Hmm maybe the println isn't tied to print out to the browser console? Above that, (enable-console-print!) or change the (println x) to (.log js/console x).

sonnyto15:09:56

@gadfly361: thanks! create-class worked.

sonnyto15:09:10

why would the with-meta not work?

gadfly36115:09:36

With-meta should also work, probably just a syntax error somewhere

pixel22:09:57

Hey, possibly novice question

pixel22:09:50

But I have a reagent function that isn't rerendering... oh nope I didn't use a ratom

pixel22:09:39

nevermind fixed

pixel22:09:47

that's 15 minutes of my life I'm never getting back

gadfly36123:09:46

Be thankful you only lost 15 mins haha :) that one has bitten us all!!