Piyush NanwaniforAtomxelblog.atomxel.com·Mar 27, 2024The React Hooks you need to knowIn this blog, we'll cover fundamental hooks like useState, useEffect, useRef, and useContext. Then we will talk about custom hooks. React Hooks useState The useState hook allows functional components to manage state. Let's look at a simple example: i...Discuss·1 likeReact
Ted Leeted-projects.com·Mar 18, 2024React useRef를 사용하는 이유자꾸만 익숙했던 방식대로 querySelector를 사용하려고 하는 스스로를 설득하기 위해 리액트 useRef 훅의 내용을 정리합니다. 간단하게 먼저 결론부터 언급하자면, useRef를 사용하는 주된 이유는 React의 선언적이고 반응형인 특성과 잘 맞기 때문입니다. 선언적 프로그래밍에 잘 맞는다 React는 선언적 프로그래밍 패러다임을 따릅니다. UI의 현재 상태를 선언하고, 데이터가 변경될 때마다 React가 UI를 자동으로 업데이트 해줍...Discuss·1 like·41 readsuseRef
Deepak SinghforDeepak Singhdeepaksingh1301.hashnode.dev·Mar 14, 2024Understanding useRef Hook in React: A Simple Countdown Timer ExampleToday, during an interview session, I encountered an interesting scenario. I asked the candidate to create a simple countdown timer using React. However, despite his knowledge of React basics, he struggled to implement the timer functionality correct...Discuss·35 readsCountdown Timer
Kshitiz Kumarblog.kshitiz.net·Jan 16, 2024A promise I made to myself 7 years ago.When I first started with React, I didn't know much about it. I learned the basics in just one week and landed an unpaid internship during college, though I can't recall where exactly. In that internship, my first task was to use an OTP Component. Bu...Discuss·72 readsReact
Akash Bhadouriahiremeakashdev.hashnode.dev·Dec 31, 2023Crafting an OTP component with React.jsIn the age of technological advancements, a frequent situation is encountering the one-time password (OTP) input component in our daily use apps and web-apps, ensuring secure authentication. In this blog, we'll explore how to create the Frontend of a...Discuss·11 likes·407 readsReact
Bashar Omarbasharomar.hashnode.dev·Dec 28, 2023LinkedIn, But BetterWhy Redesign? Yeah, it’s the first question that came to your mind when you saw the thumbnail. Hang on I'll tell you more about it. For starters, One day, while casually scrolling through my LinkedIn feed, I stumbled upon an intriguing post that I wa...DiscussLinkedIn
LingarajTechhub All About ProgrammingProlingarajtechhub.com·Dec 18, 202310 interview questions regarding ReactJS useRef() HookHere are 10 interview questions regarding the useRef() Hook in React: What is the purpose of the useRef() Hook in React? Explain when and why you might use it. How does useRef() differ from useState() in React? Highlight the key distinctions bet...DiscussReact
Jedidiah Amaraegbuamjedidiah.hashnode.dev·Oct 21, 2023State Management in React: Exploring useRef and useStateReact is a powerful JavaScript library for building user interfaces, and it provides several tools and hooks for managing state and interacting with the DOM.Two commonly used hooks in React are useRef and useState.While both are essential for various...Discussreact hooks
AMINE ABAIDIcodewithamine.hashnode.dev·Oct 8, 2023Practice your react skills throughout building a fun gameIntroduction : This article assumes that you have a basic knowledge of react. We will build a game for counting sheep, and we will use concepts like Context API and useState, useRef. Don't freak out if you are not familiar with these concepts I will ...Discuss·50 readsReact
Hari kiran Kanteharikirankante.hashnode.dev·Oct 1, 2023useRef Hook in React ExplainedIntroduction Welcome to a journey that's going to simplify your React development experience. If you're just starting out with React or feeling a bit puzzled by some of its concepts, you're in the right place. Today, we're demystifying one of the ess...Discuss·11 likes·41 readsReact