Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Articles by Kalyan Mishra
1 articles
How to send state/props to another component in React with onClick?
In this article we will learn about sending state/props from one component to another component in React.️ Before moving on, let's see what state and props are in React. We use props and state for dynamic content which get changed from time to time. Props: Props are short form of Properties. These are read-only, meaning they can't be changed, and we pass props from the parent component to the child component. means the child component which has props received from the parent component can't be modified. State: State is used ...
Read MoreShowing 1–1 of 1 articles
« Prev
1
Next »
Advertisements