Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (55.6k points)
Can anyone explain about props in simple words?

1 Answer

0 votes
by (119k points)
edited by

Props in React JS is a special keyword, short form for properties. In simple words, Props is to pass data from one component to another component. Props can be passed like function arguments to components. Props are unidirectional i.e. props can be passed to components in only one way like in inheritance. Props data is immutable i.e. cannot change the data (read-only data).

If you are interested in web development, I strongly recommend these Web development online course by Intellipaat.

Also, have a look at this professional Full Stack Developer Training, designed to enhance your skills in the field.

You can watch this video on React JS course for beginners to know about Props with an example:

Thinking of getting a certification in React JS? Here is the React Course for you to enroll in!

Related questions

0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)
0 votes
1 answer
asked Nov 5, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Nov 4, 2020 in Web Technology by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...