In React JS, State and Props are two core concepts that control how your application behaves and responds. Whether you’re building a simple to-do app or a complex dashboard, understanding these two will help you build smarter, more dynamic interfaces.
Let’s break it down in a beginner-friendly way, with simple words and real examples.
Props (short for properties) are used to send data from one component to another.
Imagine a parent telling a child something. In React, that’s exactly what props do. The parent component passes information to the child component using props.
Welcome, Divya!
Here, name=”Divya” is a prop. It is passed to the Welcome component, which displays it inside the heading. This is useful when you want to use one component to show different data.
The State is like a component’s personal memory. It stores information that can change over time, such us user inputs, clicks, or toggles.
When the state changes, the component automatically re-renders to reflect the change.
Let’s say you’re building a shopping cart:
This teamwork between props and state is what makes React so powerful.
Feature | Props | State |
Owned by | Parent component | Same component |
Usage | Send data to child component | Handle dynamic or changing data |
Editable? | No (read-only) | Yes (can be changed) |
Purpose | Pass values | Control behavior & interactivity |
Understanding State and Props in React is the first step toward building smart, interactive apps.
Once you get this concept clearly, you’ll start writing more organized and flexible code in React!
Want to learn React deeper? Join Aryu Academy’s React JS course and build practical experience.
Subscribe to Our Newsletter!
Get The Latest News, Updates, And Amazing Offers
Popular Posts
Jul 25, 2025
How State and Props in React JS Drive Your App’s Behavior
Jul 17, 2025
Which Full Stack Developer Skills Should Freshers Learn?
Jul 10, 2025
What Is Full Stack Software Development? Frontend to Backend
Popular Tags