Working with data and properties in React components
The goal of React components is to create reusable blocks of code and UI. To support reusability, you can pass data into components through the use of properties. We will see how to add properties to a component, and work with complex data types such as arrays.
Learning objectives
In this module, you will:
- Work with props in a component.
- Add logic to a JSX file.
- Use map to work with lists of items.
Prerequisites
Knowledge of HTML/CSS, JavaScript, Git, npm, and some experience with React.