0 votes
1 view
in Web Technology by (24.4k points)
Can anyone explain about props in simple words?

1 Answer

0 votes
by (47.7k 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.

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

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 27 in Web Technology by Sudhir_1997 (24.4k points)
0 votes
1 answer
asked Mar 27 in Web Technology by Sudhir_1997 (24.4k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...