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

Опубликовано: 24 Февраль 2025
на канале: KnowledgeKeen
608
30

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.

Please subscribe to our channel KnowledgeKeen to learn and understand the basics of development -    / knowledgekeen  


What I use for shooting my videos - Tripod - https://amzn.to/3ASkf8F - OnePlus 7 - https://amzn.to/3xRJ2ry - Dell Inspiron 15 G3 3500 Gaming Laptop - https://amzn.to/2VWLMHr - Boya Microphone - https://amzn.to/3k4xNqP - Syska Lamp - https://amzn.to/3gccDWP

#knowledgekeen
#reactjs
#reacttutorial
#reacttutorialforbeginners


props state reactjs
react state management
state props