Name:Football

Description : The sport of association football is commonly called soccer in the United States...

Time : 90

Name:Cricket

Description : A typical Cricket game has 11 players in each team. It is fundamentally very similar...

Time : 120

Name:Badminton

Description : badminton, court or lawn game played with lightweight rackets and a shuttlecock..

Time : 30

Name:Handball

Description : Handball is a team sport .

Time : 90

Name:Basketball

Description : Basketball is a team sport ....

Time : 90

Name:Table Tennis

Description : Table tennis, also known as...

Time : 90

Rakib hasan

Dupchancia,Bogura

Weight

53kg

Height

5.7 feet

Age

23yrs


Add a break


Exercise Details

Time Required

0 Min

Break Time

min


Question Answer

Question 1 : How does react work??

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

Question 2 : Difference between props and state??

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.

Question 3 : What does useEffect do without data load??

1. Reading from local storage.
2. Registering and deregistering event listeners.