Hard
ReactDOM.render(
'<p class="redBackground">Hello</p>',
document.querySelector("# root")
)
What does this code display?
Author: Victor SabatierStatus: PublishedQuestion passed 1604 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
7
How to submit a form in React7
Improve this React component so that it displays "Green" by default.4
Write the missing code to render the children of the UserProfile component.4
Fix the following React component: Scroller6
Write a React function that fetches comments and passes them to a component.7
Optimize a React component by implementing shouldComponentUpdate3
Write a React component as a function