That's because Hooks can be used only within a functional component. Our state is now declared with the useState hook which gives us back the value and a ...
確定! 回上一頁