Creating a custom Box component with React.js

5 months ago
58

The lesson goes over creating your own React component. In particular, you create a component to make a square box.

Reactjs is a frontend library that helps you build user interfaces with the JavaScript programming language.

You learn how to instantiate a component in JSX, simply using a tag like you do in HTML.

You also learn to pass information down to the component via props (short for properties).

You also learn that you can pass information between the open and close tags of the component, which is a special props called children.

Loading 1 comment...