top | item 23183816

(no title)

mmerickel | 5 years ago

It seems like something could be written around useRecoilCallback() to watch/get the current value of an atom outside of a React component. Does that sound right?

discuss

order

davidmccabe|5 years ago

For a specific set of atoms you could subscribe to them with a component and then use an effect to send the values out. For all atoms you could use useTransactionObservation.