Easy
In order for the following component to work, what must be written in place of *** MISSING CODE***?
function UserProfile(props){
  return(
   <div className="userBloc">
     <h3 className="userBloc-title">User profile</h3>
     *** MISSING CODE***
   </div>
  );
}
ReactDOM.render(
 <UserProfile>
   <ul>
     <li>Ludovic Leblanc</li>
     <li>React.js Developer</li>
     <li>Best in class</li>
   </ul>
 </UserProfile>,
  document.querySelector("# root")
);
Author: Victor SabatierStatus: PublishedQuestion passed 1496 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Fix the following React component:7
Improve this React component so that it displays "Green" by default.7
How to submit a form in React3
Fix the following React component: Scroller7
Optimize a React component by implementing shouldComponentUpdate6
Write a React function that fetches comments and passes them to a component.3
Write a React component as a function