What is the difference between Props and State in React JS? | (Props vs State explained)

preview_player
Показать описание
Today we will see the main concepts in React, which are Props and State.
Both the Props and State do similar things but we use them in different ways.

Props is the abbreviation for properties and are used to pass data between React components in a uni-directional way only which is from parent to child only and between the siblings.

State which is another special built-in object, allows components to create and manage their own data. So unlike props, components cannot pass data with state, but they can create and manage it internally.

#knowledgekeen
#reactjs
#reacttutorial
#reacttutorialforbeginners

props state reactjs
react state management
state props
Рекомендации по теме
welcome to shbcf.ru