But with React Hooks, you don't. Example useState. However, you can use the useState Hook to define a state variable.
確定! 回上一頁