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

Reactions 6 Comments 2
2 min read
React hooks: useMemo

React hooks: useMemo

Reactions 2 Comments
3 min read
React: сфокусировать поле ввода по чекбоксу

React: сфокусировать поле ввода по чекбоксу

Reactions 5 Comments
1 min read
Random Number generator ReactJs

Random Number generator ReactJs

Reactions 5 Comments
2 min read
React - useEffect vs useLayoutEffect

React - useEffect vs useLayoutEffect

Comments
3 min read
useCallback Hook - Entenda quando utiliza-lo?

useCallback Hook - Entenda quando utiliza-lo?

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

Return Type That Is Dependent On Argument's Type

Reactions 1 Comments
3 min read
I used useLayoutEffect

I used useLayoutEffect

Reactions 2 Comments
2 min read
React Hooks vs Class Components

React Hooks vs Class Components

Reactions 3 Comments 2
3 min read
Forms with React Hooks

Forms with React Hooks

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

Lazy Initialization and Storing functions with React useState hook

Reactions 2 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

Reactions 5 Comments
3 min read
TypeScript: Typing React useRef hook

TypeScript: Typing React useRef hook

Reactions 4 Comments
4 min read
useMemo hook React.js

useMemo hook React.js

Reactions 9 Comments
3 min read
When to use React.useCallback Hook

When to use React.useCallback Hook

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

Simple Route Transitions in Next.js

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

Build a Custom React Hook: Stopwatch

Reactions 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

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

Understanding useEffect() lifeCycle hook in React with Examples

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

Calling your APIs with hooks in react 🧑🏽‍💻

Reactions 24 Comments 2
4 min read
Building future facing frontend architectures

Building future facing frontend architectures

Reactions 6 Comments
22 min read
uses of useNavigate instead of useHistory

uses of useNavigate instead of useHistory

Reactions 7 Comments
1 min read
Understanding React hooks

Understanding React hooks

Reactions 10 Comments 2
2 min read
Get Started with React Hooks

Get Started with React Hooks

Reactions 5 Comments
2 min read
Form Handling in ReactJS & Typescript with Custom Hooks

Form Handling in ReactJS & Typescript with Custom Hooks

Reactions 17 Comments
5 min read
Attach methods to a function component in React

Attach methods to a function component in React

Reactions 5 Comments
1 min read
React - O que é Contexto

React - O que é Contexto

Reactions 11 Comments
2 min read
React Hooks Best Practices in 2022

React Hooks Best Practices in 2022

Reactions 212 Comments 10
6 min read
UseEffect in React18

UseEffect in React18

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

React - O que são custom Hooks

Reactions 9 Comments
3 min read
Solution for problem with useState and eventHandlers

Solution for problem with useState and eventHandlers

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

useEffect hook from the prespective of a noob

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

Laravel action, filter hooks system like WordPress

Reactions 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

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

React Tricks Miniseries 6: How to use useEffect properly

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

React Context API & useReducer , Part 2

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

React Context API & useReducer , Part 1

Reactions 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

Reactions 7 Comments 8
2 min read
Custom Hooks to the Rescue

Custom Hooks to the Rescue

Reactions 13 Comments 5
3 min read
Managing State with React useContext

Managing State with React useContext

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

How to make a Custom Hook in React

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

useReducer Hook Use Cases In React

Reactions 5 Comments
1 min read
State Management With React Hooks

State Management With React Hooks

Reactions 21 Comments
4 min read
React Hooks

React Hooks

Reactions 22 Comments
3 min read
Creating a deferred promise hook in React

Creating a deferred promise hook in React

Reactions 70 Comments 2
5 min read
Real Life Example - UseImperativeHandle

Real Life Example - UseImperativeHandle

Reactions 19 Comments 6
3 min read
React Hook: useEffect simplified flow

React Hook: useEffect simplified flow

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

Understanding the different types/categories of Strapi Hooks

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

useReducer in react: Everything you need to know

Reactions 8 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

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

How to make a table in React with Hooks

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

How to avoid infinite loops onIonChange.

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

Learn Something on React JSX and Hooks

Reactions 5 Comments
3 min read
Mature optimization is not that evil

Mature optimization is not that evil

Reactions 7 Comments
2 min read
An opinionated guide to React hooks

An opinionated guide to React hooks

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

resso, world's simplest React state manager

Reactions 6 Comments
6 min read
Using global memoization in React

Using global memoization in React

Reactions 31 Comments
8 min read
React State Management in 2022

React State Management in 2022

Reactions 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.

Reactions 6 Comments
2 min read
The usage of React Hooks

The usage of React Hooks

Reactions 6 Comments
6 min read
loading...