React Recap: Quick Visual Explanation of Props for Visual Learners
Tags: react, codenewbie, beginners, programming
Published: 2020-11-14 15:08:43

#Hey y'all!

I hope you are doing well, swell, fine and dandy!

My name is Rojhan Paydar, but you can call me Ro! I am a front-end web developer who is currently focusing on React.


![Alt text of image](https://cdn.hashnode.com/res/hashnode/image/upload/v1604597486673/W8lEuc4bA.jpeg?auto=format&q=60)

When it comes to learning, I am very hands on, and love to create visuals to help with remembering important lessons.

Below is the brain child which is my thought process for how to remember PROPS, and the reason why I made it.

![Alt text of image](https://cdn.hashnode.com/res/hashnode/image/upload/v1604596837674/CT_NjbznQ.jpeg?auto=format&q=60)

 _Created By: Rojhan Paydar @rothecoder_

Why I chose this relationship with the Mandalorian and "The Child" is simple. In the latest Star Wars series _The Mandalorian_, "Baby Yoda" is called "the child".

For those who have never seen the show they know "the child" famously as "baby yoda". For people who DO watch the show, we know "baby yoda" as "the child". 

The relationship between Mando and "the child" is not biological parent and child, but Mando acts as a parent to "the child". It is very much obvious that their relationship is like "parent and child".

![A moving image of Baby Yoda AKA "The Child" running to the Mandalorian and getting picked up.](https://media1.tenor.com/images/4640854d881b01a3b8dcacdd6cfbfc91/tenor.gif?itemid=19112902)

_I mean come on, you can't tell me that isn't a child and parent?!_

Anyway, whenever I'm watching the show, someone refers to "baby yoda" as "the child". At that moment, I start to think about code. It goes the other way around too! When talking about parent and child in reference to code, and someone says "the child", I always think about "baby yoda". 

So naturally, during my React recap via Stephen Grider's Udemy course "Modern React with Redux", I kept hearing him say "the child" over and over, and I started to think about Baby Yoda (just for a moment). I tuned back into what I was learning.. and then it CLICKED.

I had this idea to make a comic to help me solidify my understanding of props, and perhaps help others too! (plus I love drawing so this was a win-win for me). As a visual learner, this was a GREAT way to help the idea STICK! And guess what? It worked!

Here's the break down:

1. The Mandalorian (parent) sees the child using "the force" to play with leaves (Mando doesn't exactly know what the force is, but knows it's existence).

2. Mando thinks the child using the force is "friggin awesome" and wants to tell this information to the child. This is where "props" come in.

3. Mandalorian approaches the child to give them props (the information stored by the parent).

4. After Mando "gives props", the child now has this information from the Mandalorian (the information being "they are awesome").

5. The child wants to give new information back up to Mando (the parent)

6. The child then realizes, they cannot directly give props back, because they are THE CHILD. Children cannot give information up to their parent.

![Alt text of image](https://cdn.hashnode.com/res/hashnode/image/upload/v1604598199743/gA3rRxrIC.gif?auto=format,compress&gif-q=60)

That's it! That's my little comic explaining props. I will literally never forget now, and I hope it sticks with you too! :)

![Alt text of image](https://cdn.hashnode.com/res/hashnode/image/upload/v1604598842905/YSH4yeaLX.gif?auto=format,compress&gif-q=60)


If you like this idea, please comment below for me to make more as I learn React! It might not always come to me, but if I have an idea I would love to share it with the tech world!

I hope you enjoyed, learned, and remember..

![Alt text of image](https://cdn.hashnode.com/res/hashnode/image/upload/v1604598286455/nFW_x6sUz.gif?auto=format,compress&gif-q=60)

To connect with me, find me here!



Twitter: twitter.com/rothecoder

Instagram: instagram.com/rothecoder

GitHub: github.com/rojhanpaydar

LinkedIn: linkedin.com/in/rojhan-ro-paydar-432856b4

Medium: medium.com/@rojhanpaydar

Hashnode: hashnode.com/@Rothecoder

<link rel="canonical" href="https://rothecoder.hashnode.dev/react-recap-quick-visual-explanation-of-props-for-visual-learners-ckh550b7a07nv39s13f3cgmt3"/>