Description : The sport of association football is commonly called soccer in the United States...
Time : 90
Description : A typical Cricket game has 11 players in each team. It is fundamentally very similar...
Time : 120
Description : badminton, court or lawn game played with lightweight rackets and a shuttlecock..
Time : 30
Description : Handball is a team sport .
Time : 90
Description : Basketball is a team sport ....
Time : 90
Description : Table tennis, also known as...
Time : 90
Rakib hasan
Dupchancia,Bogura
Weight
53kg
Height
5.7 feet
Age
23yrs
0 Min
min
React uses a declarative paradigm that makes it easier to reason about your application and aims to be both efficient and flexible. It designs simple views for each state in your application, and React will efficiently update and render just the right component when your data changes
PROPS:
The Data is passed from one component to another.
It is Immutable (cannot be modified).
Props can be used with state and functional components.
STATE:
The Data is passed within the component only.
It is Mutable ( can be modified).
State can be used only with the state components/class component.
POINT DISCUSSED :
Props are used to pass data from one component to another.
The state is a local data storage that is local to the component only and cannot be passed to other components.
The this.setState property is used to update the state values in the component.
1. Reading from local storage.
2. Registering and deregistering event listeners.