Fork me on GitHub
#cljsrn
<
2020-06-26
>
Oliver George09:06:12

Nothing particularly odd there. Personally I'd do the @ with the subscribe call.

Oliver George09:06:29

What you describe has happened to me in situations where callbacks are involved in rendering.

Oliver George10:06:34

The important thing for reagent to work is that the line-chart call is invoked and before it returns all r/atom's it should watch are dereferenced.

Oliver George10:06:32

Small nit... the clj->js is probably not needed because you're using [:> which does clj->js for you.

lepistane10:06:26

yeah i realized this last night when i was looking into reagent. Thank you. I actually made it work. i removed timestamps/date from x and just use indexes now and it works. It is rendered properly. What i think happened is that lib wont rerender until enough time has passed for it to make redraw make sense. i will dig bit into this and report my findings

👍 3