title: React / Recoil - when is setAtom new value available?
body: <p>I'm trying to understand React Recoil and when an updated atom's value is available, or how to make the new value propagate vertically and horizontally across the app.</p>
  <p>For example if I have an atom called <code>userState</code> and I update one of its properties like <code>avatar_url</code>, the value is not the new value if I console it right after the setUser.</p>
  <pre><code>const [user, setUser] = useRecoilState(userState);
  
  setUser({ avatar_url: imageURL, ...appUser});
  
  console.log(imageURL); // is the actual new URL
  console.log(user.avatar_url); // should be new URL but isn't
  </code></pre>