DEV Community

# hooks

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Unleashing the Power of React Custom Hooks

Unleashing the Power of React Custom Hooks

Comments
3 min read
All About Custom Hooks: Supercharge Your React Components

All About Custom Hooks: Supercharge Your React Components

5
Comments
3 min read
Understanding Context Hooks in React: A Beginner's Guide

Understanding Context Hooks in React: A Beginner's Guide

1
Comments
2 min read
How To Define Typescript onChange Event In React

How To Define Typescript onChange Event In React

Comments
1 min read
Prelude to react-hook-use-cta (useCTA)

Prelude to react-hook-use-cta (useCTA)

Comments
1 min read
custom fetch hook

custom fetch hook

Comments
3 min read
Suggestion for new syntax of React reducers + context

Suggestion for new syntax of React reducers + context

Comments
1 min read
Leveraging Custom Hooks in React and Next.js: A Comprehensive Guide

Leveraging Custom Hooks in React and Next.js: A Comprehensive Guide

3
Comments
2 min read
Understanding the useMemo Hook in React

Understanding the useMemo Hook in React

Comments
2 min read
Stages of Git Hook Execution Visualization

Stages of Git Hook Execution Visualization

1
Comments
2 min read
[React, Next.js] Search function using useDebounce

[React, Next.js] Search function using useDebounce

2
Comments
2 min read
Level Up Your React with Advanced Hooks: Beyond the Basics with useHooks

Level Up Your React with Advanced Hooks: Beyond the Basics with useHooks

1
Comments
2 min read
React 18 removes “Can't perform a React state update on an unmounted component” warning ⚠

React 18 removes “Can't perform a React state update on an unmounted component” warning ⚠

9
Comments 1
2 min read
React 80% : useState and useEffect

React 80% : useState and useEffect

Comments
4 min read
Create a modified useState hook to get previous value

Create a modified useState hook to get previous value

6
Comments 5
2 min read
Unveiling the Power of React Hooks: A Comprehensive Guide

Unveiling the Power of React Hooks: A Comprehensive Guide

Comments
2 min read
Open The Modal on click of browser's back button in react (with native javascript)

Open The Modal on click of browser's back button in react (with native javascript)

3
Comments 2
3 min read
Writing useEffect from scratch

Writing useEffect from scratch

2
Comments 1
3 min read
Advanced Hooks in React: Beyond useState and useEffect

Advanced Hooks in React: Beyond useState and useEffect

Comments
2 min read
A Tiny Custom React hooks for making request

A Tiny Custom React hooks for making request

Comments
2 min read
How to Track Previous State in React

How to Track Previous State in React

2
Comments
5 min read
Detecting and Adapting to Device Types in React with Custom Hooks through matchMedia api

Detecting and Adapting to Device Types in React with Custom Hooks through matchMedia api

Comments
1 min read
The 'Only Use' Hook: Your New Secret Weapon for Conditional React Logic!

The 'Only Use' Hook: Your New Secret Weapon for Conditional React Logic!

1
Comments 1
2 min read
React Hooks and Fiber deep diving

React Hooks and Fiber deep diving

2
Comments 1
9 min read
Why React Developers write Custom Hooks?

Why React Developers write Custom Hooks?

1
Comments
3 min read
useEffect Hookđź’Ą in React

useEffect Hookđź’Ą in React

1
Comments
2 min read
Optimizing React Components: A Guide to useCallback and useMemo

Optimizing React Components: A Guide to useCallback and useMemo

9
Comments 2
3 min read
How I use Axios interceptor for refreshing token in a custom React hook

How I use Axios interceptor for refreshing token in a custom React hook

Comments
3 min read
"Props and States in React JS"

"Props and States in React JS"

Comments
2 min read
Problem importing useNavigation or Link from 'react-router-dom'

Problem importing useNavigation or Link from 'react-router-dom'

Comments 1
1 min read
An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states

An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states

Comments
1 min read
Unlocking the Power of React Hooks

Unlocking the Power of React Hooks

Comments
4 min read
Deep Dive into React's useMemo and useCallback Hooks

Deep Dive into React's useMemo and useCallback Hooks

5
Comments
3 min read
Explorando a lib usehooks-ts para Desenvolvimento no React

Explorando a lib usehooks-ts para Desenvolvimento no React

Comments
6 min read
Exploring lesser-known React hooks and their importance

Exploring lesser-known React hooks and their importance

4
Comments
6 min read
Leveraging React Context and Custom Hooks For Efficient State Sharing and Data Loading

Leveraging React Context and Custom Hooks For Efficient State Sharing and Data Loading

Comments
8 min read
The Evolution of React Design Patterns: From HOCs to Hooks and Custom Hooks

The Evolution of React Design Patterns: From HOCs to Hooks and Custom Hooks

3
Comments 2
8 min read
Mastering React's useCallback, useMemo, Memoization, and Closures

Mastering React's useCallback, useMemo, Memoization, and Closures

1
Comments
8 min read
Unlocking the Power of useRef in React: 12 Essential Use Cases

Unlocking the Power of useRef in React: 12 Essential Use Cases

1
Comments
8 min read
Mastering React's useRef Hook: A Deep Dive

Mastering React's useRef Hook: A Deep Dive

8
Comments
9 min read
"5 Must-Know Hooks for React Developers"

"5 Must-Know Hooks for React Developers"

2
Comments
2 min read
Do Conceito à Implementação: Criando e Utilizando Hooks Personalizados no React

Do Conceito à Implementação: Criando e Utilizando Hooks Personalizados no React

1
Comments
5 min read
How to Create a Custom Hook in Your ReactJs Application

How to Create a Custom Hook in Your ReactJs Application

12
Comments 2
3 min read
Exploring the Power of React Hooks in Modern Web Development

Exploring the Power of React Hooks in Modern Web Development

11
Comments
2 min read
How you properly test your React hook methods

How you properly test your React hook methods

Comments
1 min read
Creating Scalable Stores in React using Hooks and Context API.

Creating Scalable Stores in React using Hooks and Context API.

1
Comments
3 min read
Decoding the Magic of React’s useEffect Hook

Decoding the Magic of React’s useEffect Hook

1
Comments
3 min read
React Hooks: A Comprehensive Guide to Built-in React Hooks

React Hooks: A Comprehensive Guide to Built-in React Hooks

1
Comments
4 min read
Understanding the Differences Between useCallback and useMemo

Understanding the Differences Between useCallback and useMemo

16
Comments 3
4 min read
React Hooks - useEffect()

React Hooks - useEffect()

2
Comments
3 min read
Asking For Confirmation Inline In React Function

Asking For Confirmation Inline In React Function

Comments
3 min read
The 5 most important takeaways from the new React Docs, for both newbie and experienced devs

The 5 most important takeaways from the new React Docs, for both newbie and experienced devs

2
Comments 5
8 min read
Leveraging the useId Hook in React: Simplifying Unique ID Generation

Leveraging the useId Hook in React: Simplifying Unique ID Generation

3
Comments 2
3 min read
SĂ©rie React Hooks: useCallback

SĂ©rie React Hooks: useCallback

Comments
3 min read
useContext

useContext

Comments
5 min read
Alterações de páginas de forma dinâmica com o UseState

Alterações de páginas de forma dinâmica com o UseState

1
Comments
2 min read
React Hooks can ALMOST do Everything Class Components Can Do... ALMOST!

React Hooks can ALMOST do Everything Class Components Can Do... ALMOST!

7
Comments
2 min read
Explorando os Hooks Adicionais do React: Exemplos e Casos de Uso

Explorando os Hooks Adicionais do React: Exemplos e Casos de Uso

Comments
11 min read
The ultimate guide to Git Hooks

The ultimate guide to Git Hooks

Comments
5 min read
How to call React Query hooks conditionally!

How to call React Query hooks conditionally!

5
Comments 4
2 min read
loading...