๋ฐ์ดํฐ๋ฅผ ๊ด๋ฆฌํ๋ ค๋ฉด state์ ๋ํด ์์์ผํ๋ค. state๋ useState() const [likes,setLikes] =useState(0)0์์ ์์ํ๋ค. ๊ทธ๋ฆฌ๊ณ ๋ฆฌ์คํธ๋ฅผ ๋ฆฌํดํ๋ค. ( [likes,setLikes])likes : state๋ณ์setLikes : function to update it function Likes() {const [likes, setLikes] = useState(0)const handleClick = () => {setClicks(likes+1)}return(Likes: {likes})}; Controlled ์ปดํฌ๋ํธ์ ๊ฒฝ์ฐ,form์์ ์ฌ์ฉํ๋ ค๋ฉด ๋ค์๊ณผ ๊ฐ์ด ์ด๋ค. const [value,setValue] =useState('') function Controll..