Question: Identify the components and elements in the following script. Using your word, explain how the page is rendered! function Welcome(props) { return h1> Hello, {props.

 Identify the components and elements in the following script. Using yourword, explain how the page is rendered! function Welcome(props) \{ return h1>

Identify the components and elements in the following script. Using your word, explain how the page is rendered! function Welcome(props) \{ return h1> Hello, \{props. name }/h1; \} function App() \{ return ( div Welcome name="Sara" / Welcome name="Cahal" / Welcome name="Edite" // div ); \} ReactDoM. render( App /, document. getElementById( 'root') ); Question 2: Use your creativity to add the following to the React app: - Add a list of your favourite movies: - Add some custom events to the page. Such as a button click. Identify the components and elements, and events in the following script. Explain how the page is rendered and events are handled using your word

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!