Nested Components
Learning Objectives
After this lesson, you will be able to:
Diagram nested components
Render components within another component
Pass
props
to a nested component

todo
We Do: Nested Components
todo
We Do: Nested ComponentsCreate a Comment.js
file inside the src
directory. Add the following code to it:
Import Comment
component into your Dino.js
component like so:
Check it out!
Last updated
Was this helpful?