DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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

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

Mastering React's useRef Hook: A Deep Dive

4
Comments
9 min read
Mastering React's useCallback, useMemo, Memoization, and Closures

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

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

"5 Must-Know Hooks for React Developers"

2
Comments
2 min read
Mastering React's useRef Hook: Why it Doesn't Trigger Re-renders and How it Persists Across Re-renders

Mastering React's useRef Hook: Why it Doesn't Trigger Re-renders and How it Persists Across Re-renders

Comments
4 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

17
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

15
Comments
2 min read
React Hooks - useEffect()

React Hooks - useEffect()

2
Comments
3 min read
Understanding the Differences Between useCallback and useMemo

Understanding the Differences Between useCallback and useMemo

16
Comments 3
4 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
useContext

useContext

Comments
5 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
Alterações de páginas de forma dinâmica com o UseState

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

Comments
2 min read
The ultimate guide to Git Hooks

The ultimate guide to Git Hooks

Comments
5 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
How to call React Query hooks conditionally!

How to call React Query hooks conditionally!

5
Comments 4
2 min read
Bridge Between Lifecycle Methods & Hooks

Bridge Between Lifecycle Methods & Hooks

1
Comments
8 min read
React Render Lifecycle and useEffect Hook

React Render Lifecycle and useEffect Hook

12
Comments
2 min read
Nodejs Async Hooks 101

Nodejs Async Hooks 101

2
Comments
3 min read
New Feature: React introduces its new experimental hook — useOptimisitcState()

New Feature: React introduces its new experimental hook — useOptimisitcState()

Comments
3 min read
Detaylı React Hooks Kullanımı: useState

Detaylı React Hooks Kullanımı: useState

Comments
6 min read
Managing array state in React with custom hooks

Managing array state in React with custom hooks

1
Comments
3 min read
React: isMounted tricks are code-smell

React: isMounted tricks are code-smell

Comments
3 min read
Using UseEffect Hook: Avoiding Excessive Re-rendering

Using UseEffect Hook: Avoiding Excessive Re-rendering

Comments
4 min read
Trouble accessing context values with useContext in child component

Trouble accessing context values with useContext in child component

Comments
3 min read
React useState and useEffect hooks explained in simple term with example

React useState and useEffect hooks explained in simple term with example

2
Comments
2 min read
useContext + useReducer = powerful and flexible way to manage global state!

useContext + useReducer = powerful and flexible way to manage global state!

4
Comments 2
4 min read
What is memoization in React

What is memoization in React

Comments
5 min read
React’e Giriş: Components, Props, Hooks, Map, React Router DOM, Redux

React’e Giriş: Components, Props, Hooks, Map, React Router DOM, Redux

1
Comments
25 min read
Supercharge your React app with useSWR

Supercharge your React app with useSWR

4
Comments 7
5 min read
How to Use the useState Hook to Show/Hide Content in React

How to Use the useState Hook to Show/Hide Content in React

Comments
2 min read
How to build a Movie App in React using TMDB API

How to build a Movie App in React using TMDB API

Comments
3 min read
React Performance: use(State | Reducer | Ref) theoretical summary

React Performance: use(State | Reducer | Ref) theoretical summary

Comments
5 min read
Need of useEffect Cleanup Function

Need of useEffect Cleanup Function

2
Comments
2 min read
React Hooks Fundamentals: A Beginner's Guide

React Hooks Fundamentals: A Beginner's Guide

3
Comments 2
9 min read
The Lifecycle of React Components

The Lifecycle of React Components

1
Comments
9 min read
Several ways to handle request side effect that you should know

Several ways to handle request side effect that you should know

6
Comments
1 min read
Developers might be using useEffect wrong this whole time

Developers might be using useEffect wrong this whole time

2
Comments 1
2 min read
useState when to use?

useState when to use?

3
Comments
1 min read
When not to use Effect ?

When not to use Effect ?

Comments
5 min read
Mock React hooks based on environment

Mock React hooks based on environment

Comments
1 min read
A better useReducer: useHyperState

A better useReducer: useHyperState

5
Comments
5 min read
Complete Guide to useState Hook in React

Complete Guide to useState Hook in React

5
Comments
4 min read
Understanding React Hooks: How to Use useRef, useMemo, and useCallback for More Efficient Code

Understanding React Hooks: How to Use useRef, useMemo, and useCallback for More Efficient Code

9
Comments 4
9 min read
Using the Local Storage API in React: Creating a custom hook component

Using the Local Storage API in React: Creating a custom hook component

4
Comments
5 min read
React Hooks by Example - Part 2

React Hooks by Example - Part 2

Comments
6 min read
Detecting clicks outside an HTML element using the custom React Hook

Detecting clicks outside an HTML element using the custom React Hook

Comments
4 min read
useState Hook: A staple that every React user should know how to use

useState Hook: A staple that every React user should know how to use

Comments
5 min read
React Hooks by Example - Part 1

React Hooks by Example - Part 1

6
Comments 2
4 min read
The ContentAfterCheck Hook in Angular

The ContentAfterCheck Hook in Angular

1
Comments 2
1 min read
React Hooks, the bad side

React Hooks, the bad side

2
Comments
4 min read
Criando react hook personalizado para fazer requisições

Criando react hook personalizado para fazer requisições

3
Comments 2
2 min read
React State Management: When to Use useState and useReducer Hooks

React State Management: When to Use useState and useReducer Hooks

1
Comments
2 min read
React basics, a frontend project.

React basics, a frontend project.

Comments
4 min read
Don't use useEffect

Don't use useEffect

26
Comments 12
2 min read
Intro to React Context

Intro to React Context

10
Comments
2 min read
useHistory Hook in React for App Navigation

useHistory Hook in React for App Navigation

2
Comments
3 min read
React counter component two different ways - useReducer and customHooks.

React counter component two different ways - useReducer and customHooks.

Comments
3 min read
loading...