const handlePwChange: ChangeEventHandler = (e) => { const el = e.target as HTMLInputElement; setPw(() => el.value); };ㅇㅇ?
그렇게 쓰는건 의미없고 그 콜백 args로 이전 state가 자동으로 들어가서 이전 state를 참조할때 많이씀
매개변수 줘서 이전 state 참조할 때 쓰구나 고마워