Select Your Best One

YOGA

Time Required: 30s

CARDIO

Time Required: 30s

GYM

Time Required: 30s

HYDRATE

Time Required: 30s

FITNESS

Time Required: 30s

STRETCHING

Time Required: 30s

Abdullah Al Masoud

Mirpur,Dhaka

75kg

Weight

6.5kg

Height

25yrs

Age

Add A Break

Exercise Details

Exercise time200seconds

Break time15seconds

Thanks

Question-1: How does react work?

React uses a declarative paradigm that makes it easier to reason about our application and aims to be both efficient and flexible. It designs simple views for each state in our application, and React will efficiently update and render just the right component when our data changes.

Question -2: Difference between props and useState.

The fundamental difference between props and state is that state is internal and controlled by the component itself while props are external and controlled by whatever renders the component.

Question -3: Mention the functions of useEffect without data load.

The useEffect Hook allows us to perform side effects in our components. Some examples of side effects without fetching data are: directly updating the DOM, and timers. useEffect accepts two arguments. The second argument is optional.