Is there any benefit to putting information inside a Reagent atom (a ratom) beyond managing rendering? For example, is there a reason to put a javascript object in a ratom if you don't intend on using it to cause react component re-renders? I feel like the answer is "no" but sometimes i'm short sighted.
The answer is indeed "no".
Well, there's also reagent.ratom/run! that lets you use data changes in ratoms to trigger side effects other than re-renderings.
Thanks p-himik. Your insights are always extremely useful to me. Hopefully one day i can pay you back!
My pleasure. :)
I'll hop in to say that I agree. @p-himik the value you provide in your answers is a great service to us all 👍