title: How to change multiple key values in a state hook?
body: <p>I have a user object <code>const [user, setUser] = useState({name: &quot;James&quot;, age: 33})</code>, how can I set the name to <code>Joe</code> and age to <code>25</code>?</p>