μλ° μλ¬κ° λ°μν μν©!!
μ½λλ λμνμ§λ§ μλ¬κ° λ°μν΄μ κ±°μ¬λ¦°λ€
μμΈμ§ App.js μ½λ μ΄λμμ μ€λ₯κ° λ κ²μΈμ§ λΌμΈ λλ²κ° 보μ΄μ§ μλλ€.
μΌλ¨ μ€λ₯ λ΄μ©μ 보면 <p>μμ <div>κ° μμΌλ©΄ μλλ€? λ λ»μΈ λ―
μ΄κ±΄ App.jsμ½λ μΌλΆ
https://stackoverflow.com/questions/41928567/div-cannot-appear-as-a-descendant-of-p
<div> cannot appear as a descendant of <p>
I'm seeing this. It's not a mystery what it is complaining about: Warning: validateDOMnesting(...): <div> cannot appear as a descendant of <p>. See ... SomeComponent > p > ... >
stackoverflow.com
π― μ 리νλ©΄,
<p>μμ <div> μμκ° μμΌλ©΄ μλλ€λ λ»
<div>λ block μμμ΄κ³ , <p>λ inline μμλΌμ,
inline μμ blockμ΄ λ€μ΄κ°λ©΄ warning λ°μ
π― ν΄κ²°μ± !
<p>νκ·Έλ₯Ό <div>λ‘ λ£μ΄μ£Όλ©΄ λλ€