React Js Tutorials, Usestate, React Hook, Reactjs, Javascript Arrays.
from 'react'; const [name, setName] = useState(''); const updateName = () => { setName("New Name") } 2. Updating single property inside object updateName — updates name property of member variable import { useState } from 'react'; const INITIAL_MEMBER_VALUE = { name : "Rahul", age : 29, email :