Initial state
Also known as starting state
The state value an application or component starts with before its later updates.
In the real world
const [count, setCount] = useState(0); starts count at 0.
Also known as starting state
The state value an application or component starts with before its later updates.
const [count, setCount] = useState(0); starts count at 0.