Functional components use React hooks to handle state. It uses the useState hook to set state of a variable inside the component: function ClassRoom(props){ let ...
確定! 回上一頁