eli5 What are props in react?

294 views

eli5 What are props in react?

In: 0

3 Answers

Anonymous 0 Comments

“props” just means “properties”. It’s the little “keyword” react uses to pass data from one library to another.

edit: ok technically it’s to pass data from a parent component to a child component, it’s unilaterally vertical not horizontal, it can’t pass data from one parent to another

Anonymous 0 Comments

“props” just means “properties”. It’s the little “keyword” react uses to pass data from one library to another.

edit: ok technically it’s to pass data from a parent component to a child component, it’s unilaterally vertical not horizontal, it can’t pass data from one parent to another

Anonymous 0 Comments

“props” just means “properties”. It’s the little “keyword” react uses to pass data from one library to another.

edit: ok technically it’s to pass data from a parent component to a child component, it’s unilaterally vertical not horizontal, it can’t pass data from one parent to another