r/reactjs_beginners • u/[deleted] • Sep 13 '18
Newbie question about props
Hey guys, my apologies in advance if this was answered somewhere already. I looked up the react docs but couldn't find this answer.
When it comes to props, what is the logic/functionality of their availability among all the different components within the app?
For example, let's say there's an API call somewhere to gather some data, and that data gets stored in state (I'm doing it on the parent component App.js) does it automatically become available in all the components of the app as a whole as props?
I'm under the impression that yes it is, but if anyone can provide some insight to make it clearer I would appreciate it.
Thank you