Practice using props in React by extracting components and passing data in those components using props.
- Fork and clone this repository
npm ci
to install dependenciesnpm run dev
to start the React development server
Take the existing App
component and:
- Separate into Title, NameLength, and NameReversed components
- Use props to pass
name
down to each component