Sainath Kadamsainathkadam.hashnode.dev·Aug 22, 2024Userefusing this we can directly manipulate the DOM. using this how? when?-> if we have to track the initial value and current value like when we want to do the reset button that time we can use the useref insead of using the useState. eg. initialise first...Discuss·1 likeuseRef
Hermione DadheechforKeploy Tech Blogkeploy-blog.hashnode.dev·Jul 25, 2024Efficient DOM Manipulation with the Virtual DOM and RefsThe Secret to Fast and Responsive Websites Ever wondered why your favorite websites are so fast and responsive? It all boils down to how they handle DOM manipulation. The Document Object Model (DOM) represents your web page as a structured tree. Trad...DiscussReact
Tushar Puritusharpuri.hashnode.dev·Jul 14, 2024React Refs: A Guide for Practical Use CasesReact’s ref system is a powerful tool that allows direct interaction with DOM elements and child components. Understanding React Refs: Ref Basics: Refs in React provide a way to access and manipulate DOM elements or React components directly. Types o...DiscussuseRef
Nghia Tieucswithtieu.hashnode.dev·Jun 30, 2024Q3. Giải thích cơ chế hoạt động của useRef?useRef là một hook trong React được dùng để tạo tham chiếu mutable mà không gây ra re-render khi giá trị của nó thay đổi. useRef có nhiều mục đích sử dụng khác nhau trong React, và có một số lợi ích quan trọng so với việc sử dụng một biến const bên n...DiscussPhỏng vấn react nativeReact Native
Piyushpiyusss.hashnode.dev·Jun 18, 2024Day 27 React with MeUser Authentication with firebase User authentication is an essential feature for most web applications. Firebase provides a robust and straightforward way to handle authentication. First step is to go to the firebase site and create an account, ther...DiscussuseRef
Abeer Abdul Ahadabeer.hashnode.dev·Jun 12, 2024Crucial React Hooks That Are Less UnderstoodIntroduction As React has become the top choice for building web applications, it's important to master all the concepts and topics that makes learning react incomplete without. If you have ever studied react for at least once, I am sure you know tha...DiscussReact in DetailReact
Sai HariProblog.thesshguy.com·Jun 4, 2024useState vs useRef: How to Choose the Right React HookState management is a critical part of most front-end applications. In React, you have a few mechanisms to track state, but two common ones are the useState and useRef hooks. If you're not familiar with these hooks, it can be confusing to know when t...Discuss·1 likeReact BasicsReact
Ugne Adomaityteugneadomaityte.hashnode.dev·Jun 2, 2024useRef Hook in ReactReact has a really useful hook called useRef. In some ways, it is similar to the useState hook because it can be used for tracking values. However, useRef is different in that it doesn't cause re-renders like useState. useRef can be used for other ca...DiscussReact
Piyushpiyusss.hashnode.dev·May 6, 2024Day-6 of React with MeCreating a Password Generator with React In this project, I utilized React to build a simple password generator. The generator allows users to customize the length of the password and choose whether to include numbers and special characters. User Int...DiscussReact
Piyushpiyusss.hashnode.dev·May 3, 2024Day-4 React with MeOn day 4 I dived deep into hooks and discovered 3 new hooks which will help me making my next mini project called a password generator. useEffect, useRef, and useCallback are three such hooks that play crucial roles in managing state and interactions...DiscussuseEffect