Suppose I have two roots added to the same reconciler. (om.next/add-root! reconciler Root1 r1) (om.next/add-root! reconciler Root2 r2)
. When I transact something on the Root1
component, the changes won't be reflected on Root2, right? If I want the changes to be reflected on Root2, I need to do the transaction on the reconciler
, in which case the changes will be reflected. Is that correct?
Throwing another question out there to the ether. Is there a way to call om.next/get-params
just on the class, rather than an instance?
Ah, I can just use om.next/params
.
And to answer my previous question... apparently there can only be one root per reconciler.