Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDaniel Stewart
3,163 Pointsneed advice on reference
Hello Everyone.
I have made the application but i have some questions.
1 First when we use {props.name} // This is not an object we are declaring them inline like calling a function
example <Player name="" score={}/ as you can see we are passing the information it's not being returned from anywhere can someone clarify?
2 What is the scope of an component do they all have access to each others values if accessed via .notation? If i make more functions that access {props.name} will it reference the same as above components.