useState Hook
React.useState là một Hook trong ReactJS được sử dụng để xử lý state trong các function component với cú pháp
const [state, setState] = React.useState(param)
Last updated
Was this helpful?
React.useState là một Hook trong ReactJS được sử dụng để xử lý state trong các function component với cú pháp
const [state, setState] = React.useState(param)
Last updated
Was this helpful?