Fork me on GitHub
#reagent
<
2017-07-04
>
fabrao00:07:07

Hello all, I´m trying to adapt https://olifolkerd.github.io/tabulator/ [jQuery datagrid] with reagent. I´ve been observing strange things. Do you think is it dangerous to use jQuery libs with reagent, as adapting non-reacting into reacting enviroment?

mikethompson01:07:15

It is certainly possible but it has to be managed correctly. This might help https://github.com/Day8/re-frame/blob/master/docs/Using-Stateful-JS-Components.md

mikethompson01:07:48

But reagent's reactions are different. You can absolutely end up with identical copies of the same reaction running concurrently.

pesterhazy07:07:44

For deduping in pure Reagent you could use r/track, that should only fire once per change I think