How to build a Stopwatch in React 🔥 | React JS Interview

Coding Journey With Akash
Coding Journey With Akash
4.1 هزار بار بازدید - پارسال - Hey everyone, In this video
Hey everyone, In this video we will learn how to design Stopwatch in React.
We will use State and Refs 🥳.

When to use State and when to use Ref 🤔 -
When a piece of information is used for rendering, keep it in state
When a piece of information is only needed by event handlers and changing it doesn’t require a re-render, using a ref may be more efficient.

So stay tuned!
Please watch this video till the end and don't forget to subscribe 🤗

Subscribe here 🔗 -
@akashingole

Timestamp ⏰ -
0:00 Introduction
0:35 Coding
8:25 State vs Ref

Link to other videos 🥳-
Airtel Frontend Interview Questions | React and Javascript
Airtel Frontend Interview Questions |...
Search in React using debouncing | useCallback
Search in React using debouncing | us...
Socket.io + React JS Implementation
Socket.io + React JS Implementation
Invert Binary Tree | Mirror Image of a Binary Tree
Invert Binary Tree | Mirror Image of ...

#reactjs #reactjstutorial #stopwatch
پارسال در تاریخ 1401/11/08 منتشر شده است.
4,120 بـار بازدید شده
... بیشتر