React Js Tutorials, Usestate, React Hook, Reactjs, Javascript Arrays.
"rahul234@gmail.com" } const [member, setMember] = useState(INITIAL_MEMBER_VALUE); const updateName = () => { setMember({...member, name : "New Name"}) } 3. Updating multiple properties inside object updateNameAge— updates name & age property of member variable import { useState } from 'react';