JavaScript to React

Join the React Bootcamp

The React Bootcamp is 5 full weeks of professional React training to take you from wherever you are to top-tier React programmer in record time.

Lifetime Access

Complete Package
Become a React Pro

Passing Arguments

Break the markup displayed on the page into two components.

Display the title in one component and display the cover image in another component.

They can be called createTitle and createCoverImage, for example.

Create src, height and width arguments for the createCoverImage function t...

This lesson is part of the full version of the React Bootcamp.

Click here to purchase.
Already joined? Log in here


When we're creating components for our application, its totally fine to start with some static markup first, and then turn that into a component. So for example, you might have one very large component that you break up into smaller ones.

And that's what we want to do here--

I want you to break u...