Is there an easy way to reset state of an atomFamily
?
For individual atoms there's useResetRecoilState
or reset
within useRecoilTransaction_UNSTABLE
. Without such a hook or function, the client must iterate over a stored list of keys in order to reset each individual atom from the atomFamily.