Fork me on GitHub
#reagent
<
2018-01-13
>
sggdfgf13:01:42

will re-frame/subscribe work only in hiccup? I tierd to put it into functions. looks like it does not work

mikerod16:01:58

@faxa it needs a reactive context setup around the dereference points.

mikerod16:01:47

You can build something like that yourself with some internal stuff. However I think it may get messy. You can call functions during a render hiccup though and that function will still be called in the correct reactive context.

mikerod16:01:54

I’m not sure what you are trying to do though.

ejelome21:01:53

anyone tried clojure.spec in reagent? an example would be great. 😄

shaun-mahood23:01:02

@ejelome: What kind of thing are you trying to do?