1. ์๋ฌ ๋ฉ์์ง
Warning : React does not recognize the โisCheckedโ prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase โischeckedโ instead. If you accidentally passed it from a parent component, remove it from the DOM element.
React๊ฐ DOM ์์์์ โisCheckedโ prop์ ์ธ์ํ์ง ๋ชปํฉ๋๋ค. ์๋์ ์ผ๋ก DOM์ ์ฌ์ฉ์ ์ง์ ํน์ฑ์ผ๋ก ํ์ํ๋ ค๋ฉด ๋์ ์๋ฌธ์ โ์ฒดํฌ๋จโ์ผ๋ก ์ฒ ์๋ฅผ ์ ๋ ฅํฉ๋๋ค. ์์ ๊ตฌ์ฑ ์์์์ ์ค์๋ก ์ ๋ฌํ ๊ฒฝ์ฐ DOM ์์์์ ํด๋น ๊ตฌ์ฑ ์์๋ฅผ ์ ๊ฑฐํฉ๋๋ค.
๊ฒฝ๊ณ ์ฐฝ์ ๋จ์ง๋ง ๊ธฐ๋ฅ์ ์ ๋์ํ๋ค. ๊ทธ๋ ์ง๋ง props๋ฅผ DOM element์ ์ง์ ์ ๋ฌํ์ง ๋ง๋ผ๋ ๊ฒฝ๊ณ ์ฐฝ์ผ๋ก, ์ปดํฌ๋ํธ์ props๋ฅผ ๋๊ฒจ์ผ์ง, DOM ์์์ props๋ฅผ ๋๊ธฐ๋ฉด ์๋๋ค.
ํด๊ฒฐ ๋ฐฉ๋ฒ์ DOM ์์์ props๋ฅผ ๋๊ธด ๋ถ๋ถ์ด ์๋์ง ์ฐพ์์ ์ ๊ฑฐํด์ค๋ค.