Fork me on GitHub
#reagent
<
2016-08-09
>
johanatan17:08:01

Hi, I'm getting an error "Reaction is read only" when trying to use reagent/wrap. Is there some known set of gotchas around this?

johanatan17:08:02

[my usage looks to be in line with the example given here: https://reagent-project.github.io/news/news050.html]. I am however running on 0.6.0-rc. Has anything changed between 0.5.0 and 0.6.0-rc wrt r/wrap?]

johanatan18:08:50

Nevermind. Switched to cursors (saving lines of code) & issue went away. win-win

lwhorton20:08:28

heya guys, is there a way to 1) force reagent to render now or 2) to wait until the previous render happens before attempting another (un-batch?)

metametadata21:08:00

@lwhorton: I haven't tried them but there're force-update and after-render functions in reagent.core

lwhorton21:08:03

i’ve looked at those as well as flush, but they dont seem to fit my use case, so I just changed my expectations and worked around it

mnewhook23:08:19

has anyone done an accordion stuff with reagent? Like on http://getbootstrap.com/javascript/#popovers?