+ 4
Div cannot appear as descent of p in React
How to solve this problem? Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>. in div (created by RadioButtonIcon)
1 Resposta
+ 7
function App(){
return(
<div>
<p>text</p>
</div>
)
}
Use ReactDOM.render("App")
Watch It For Better Info
https://youtu.be/HTOmxV2J6fI