Select what you wnat to do today

Morning Walk
Time: 45s
Lunges
Time: 30s

Pushups
Time: 40s

Dumbbell rows
Time: 60s

Burpees
Time: 45s

Squats
Time: 30s

Morning Walk
Time: 45s
Lunges
Time: 30s
Pushups
Time: 40s
Dumbbell rows
Time: 60s
Burpees
Time: 45s
Squats
Time: 30s
React is a JavaScript library developed by Facebook which, among other things, was used to build Instagram.com. Its aim is to allow developers to easily create fast user interfaces for websites and applications alike. The main concept of React. js is virtual DOM.
A state is a JavaScript object that represents a part of a component. It changes whenever a user interacts with the application, rendering a new UI to reflect the modifications.
1. The Data is passed from one component to another.
2. It is Immutable (cannot be modified).
3. Props can be used with state and functional components.
4. Props are read-only.
1. The Data is passed within the component only.
2. It is Mutable ( can be modified).
3. State can be used only with the state components/class component (Before 16.0).
4. State is both read and write.
The motivation behind the introduction of useEffect Hook is to eliminate the side-effects of using class-based components. For example, tasks like updating the DOM, fetching data from API end-points, setting up subscriptions or timers, etc can be lead to unwarranted side-effects.