Cody Biggs wrote: it looks like one component is creating the props, and the other component is using them. Just confused
Cody Biggs wrote:Yea, I mean I can see how it’s working...I guess I have a few questions still. So that’s how you would use props generally? Just one component that has all the props going to be used?
Also what’s the point of props? I mean in the example the ingredients I would think they would be a simple list. The ingredients aren’t going to change.
I don’t see the importance of those props if I can easily add them using html.
Cody Biggs wrote:Did not have any examples of user entered props...
Cody Biggs wrote:am I understanding that correctly?
except in real world the parent component would be making that prop from user input?