Returns a snapshot of the current Recoil state and subscribes the component to re-render when any state is updated.
Returns a snapshot of the current Recoil state and subscribes the component to re-render when any state is updated.