om-next

danburton 2016-06-14T17:53:12.000007Z

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?

danburton 2016-06-14T19:35:07.000009Z

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?

danburton 2016-06-14T19:49:10.000010Z

Ah, I can just use om.next/params.

danburton 2016-06-14T20:04:25.000011Z

And to answer my previous question... apparently there can only be one root per reconciler.

👍 1