How do you create an object in JavaScript?
What is object destructuring?
How do you loop through object properties?
Videos
HEllo guys, so I'm learning JS and trying react but I can't grasp a good understanding of some of the, apparently, most important terms. One of them is Object, another one is parent/child components, since I seem to find different examples that aren't consistent, and it's especially difficult for me to understand the codeword this, because of the previously explained.
So, my questions are:
what IS an object in JS and what is an object in react?
How do I know what is a parent and what is a child?
How do I understand the "passing props" part of the code?
I'm doing the react turorial Tutorial: Intro to React – React (reactjs.org), and part of it is "passing props" but I just don't get how one component is taking value from another when I can't see any relation between them.
Edit: thank you, everyone, for your answers, I will keep trying to grasps the concepts I'm struggling with before proceeding with anything. An object is now much more clearer but I'm still struggling with the parent/child and the passing of props but I'll keep reading.