InseoYang1nxeo.hashnode.dev·Nov 15, 2023React custom hook - useInput 정성들여 깎기개인프로젝트의 useInput 커스텀 훅을 보다가 좀 더 재사용 가능하게 고치고싶어졌다. 기존 코드 import { useState } from "react"; import { InputValue } from "../../../data/type/type"; export const useInput = (initialValue: InputValue) => { const [inputValue, setInputValue] = useState<In...#customhooksAdd a thoughtful commentNo comments yetBe the first to start the conversation.