userecoilstate vs userecoilvalue

---- useRecoilState() vs useRecoilValue() -------------------------------
useRecoilValue(state): Returns the value of the given state.
Use to READ state WITHOUT WRITING to it.
-------------------------------------------------------------------------
useRecoilState(state): Returns an Array of two elements: the value of
the state and a setter function that will update that value.
Use to READ and WRITE state.
-------------------------------------------------------------------------
Both hooks will implicitly subscribe the component to the given state.
-------------------------------------------------------------------------
KostasX