const [someState, setSomeState] = useState('starting value'); ... to defining a whole bunch of initial state values inside the component's state object.
確定! 回上一頁