DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Manage your state with the useState hook in React

Manage your state with the useState hook in React

6
Comments 2
2 min read
React hooks: useMemo

React hooks: useMemo

4
Comments
3 min read
Random Number generator ReactJs

Random Number generator ReactJs

5
Comments
2 min read
Hook useCallback - Entenda quando utiliza-lo?

Hook useCallback - Entenda quando utiliza-lo?

12
Comments 1
6 min read
Return Type That Is Dependent On Argument's Type

Return Type That Is Dependent On Argument's Type

2
Comments
3 min read
React - useEffect vs useLayoutEffect

React - useEffect vs useLayoutEffect

1
Comments
3 min read
I used useLayoutEffect

I used useLayoutEffect

3
Comments
2 min read
React Hooks vs Class Components

React Hooks vs Class Components

3
Comments 2
3 min read
Forms with React Hooks

Forms with React Hooks

3
Comments
9 min read
Lazy Initialization and Storing functions with React useState hook

Lazy Initialization and Storing functions with React useState hook

3
Comments
4 min read
Why useState hook returns array and not object? Let's create a custom hook to see

Why useState hook returns array and not object? Let's create a custom hook to see

7
Comments
3 min read
TypeScript: Typing React useRef hook

TypeScript: Typing React useRef hook

4
Comments
4 min read
useMemo hook React.js

useMemo hook React.js

11
Comments
3 min read
When to use React.useCallback Hook

When to use React.useCallback Hook

9
Comments 1
3 min read
Simple Route Transitions in Next.js

Simple Route Transitions in Next.js

1
Comments
2 min read
Build a Custom React Hook: Stopwatch

Build a Custom React Hook: Stopwatch

4
Comments
9 min read
El estado de flow, en las reglas de hooks, React Js

El estado de flow, en las reglas de hooks, React Js

3
Comments
2 min read
Understanding useEffect() lifeCycle hook in React with Examples

Understanding useEffect() lifeCycle hook in React with Examples

4
Comments 2
1 min read
Calling your APIs with hooks in react 🧑🏽‍💻

Calling your APIs with hooks in react 🧑🏽‍💻

24
Comments 2
4 min read
Building future facing frontend architectures

Building future facing frontend architectures

4
Comments
22 min read
uses of useNavigate instead of useHistory

uses of useNavigate instead of useHistory

7
Comments
1 min read
Understanding React hooks

Understanding React hooks

11
Comments 2
2 min read
Get Started with React Hooks

Get Started with React Hooks

5
Comments
2 min read
React - O que é Contexto

React - O que é Contexto

9
Comments
2 min read
React Hooks Best Practices in 2022

React Hooks Best Practices in 2022

213
Comments 10
6 min read
UseEffect in React18

UseEffect in React18

20
Comments 1
6 min read
React - O que são custom Hooks

React - O que são custom Hooks

7
Comments
3 min read
Solution for problem with useState and eventHandlers

Solution for problem with useState and eventHandlers

12
Comments 4
1 min read
useEffect hook from the prespective of a noob

useEffect hook from the prespective of a noob

11
Comments 3
2 min read
Laravel action, filter hooks system like WordPress

Laravel action, filter hooks system like WordPress

8
Comments
2 min read
React Tricks Miniseries 7: How to setState for different data types

React Tricks Miniseries 7: How to setState for different data types

13
Comments
1 min read
React Tricks Miniseries 6: How to use useEffect properly

React Tricks Miniseries 6: How to use useEffect properly

6
Comments 3
2 min read
React Context API & useReducer , Part 2

React Context API & useReducer , Part 2

8
Comments
2 min read
React Context API & useReducer , Part 1

React Context API & useReducer , Part 1

10
Comments
3 min read
React Tricks Miniseries 2: How to create custom hooks in 1 minute

React Tricks Miniseries 2: How to create custom hooks in 1 minute

6
Comments 8
2 min read
Managing State with React useContext

Managing State with React useContext

9
Comments 1
1 min read
How to make a Custom Hook in React

How to make a Custom Hook in React

5
Comments 1
7 min read
useReducer Hook Use Cases In React

useReducer Hook Use Cases In React

5
Comments
1 min read
Creating a deferred promise hook in React

Creating a deferred promise hook in React

75
Comments 2
5 min read
React Hooks

React Hooks

22
Comments
3 min read
Real Life Example - UseImperativeHandle

Real Life Example - UseImperativeHandle

21
Comments 6
3 min read
React Hook: useEffect simplified flow

React Hook: useEffect simplified flow

6
Comments
1 min read
Understanding the different types/categories of Strapi Hooks

Understanding the different types/categories of Strapi Hooks

7
Comments
8 min read
useReducer in react: Everything you need to know

useReducer in react: Everything you need to know

9
Comments
6 min read
REACT -- Convert a Class Component to Functional Component with Hooks Guide w/ES6

REACT -- Convert a Class Component to Functional Component with Hooks Guide w/ES6

10
Comments
4 min read
How to make a table in React with Hooks

How to make a table in React with Hooks

3
Comments 3
4 min read
How to avoid infinite loops onIonChange.

How to avoid infinite loops onIonChange.

6
Comments
2 min read
Learn Something on React JSX and Hooks

Learn Something on React JSX and Hooks

5
Comments
3 min read
Mature optimization is not that evil

Mature optimization is not that evil

7
Comments
2 min read
An opinionated guide to React hooks

An opinionated guide to React hooks

6
Comments
9 min read
Using global memoization in React

Using global memoization in React

31
Comments
8 min read
React State Management in 2022

React State Management in 2022

13
Comments 2
6 min read
Using React useRef Hook to access immediate past props or state.

Using React useRef Hook to access immediate past props or state.

6
Comments
2 min read
The usage of React Hooks

The usage of React Hooks

6
Comments
6 min read
resso, world's simplest React state manager

resso, world's simplest React state manager

6
Comments 2
6 min read
I Made a Hook!

I Made a Hook!

6
Comments
8 min read
Part 2. Sharing data between siblings components using Context in React with Hooks

Part 2. Sharing data between siblings components using Context in React with Hooks

3
Comments
2 min read
Sharing data between siblings components using Context in React with Hooks

Sharing data between siblings components using Context in React with Hooks

5
Comments
2 min read
useContext() Hook : Let's consume it

useContext() Hook : Let's consume it

9
Comments 1
4 min read
Simple React Concept

Simple React Concept

2
Comments 2
2 min read
loading...