React 중복 체크 ... const [items, setItems] = useState(["A", "B", "C"]); ... if(items.includes("A") { console.log("중복"); } Web/React 2022.11.05