DEV Community 👩‍💻👨‍💻

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
React State Management: When to Use useState and useReducer Hooks

React State Management: When to Use useState and useReducer Hooks

Reactions 1 Comments
2 min read
useHistory Hook in React for App Navigation

useHistory Hook in React for App Navigation

Reactions 1 Comments
3 min read
React basics, a frontend project.

React basics, a frontend project.

Comments
4 min read
Don't use useEffect

Don't use useEffect

Reactions 53 Comments 12
2 min read
Intro to React Context

Intro to React Context

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

React counter component two different ways - useReducer and customHooks.

Comments
3 min read
React useEffect hook

React useEffect hook

Reactions 1 Comments
4 min read
How to useEffect hook in your React components

How to useEffect hook in your React components

Reactions 3 Comments 1
5 min read
useTheme Custom Hook: Maintain Standard Theme throughout the app

useTheme Custom Hook: Maintain Standard Theme throughout the app

Reactions 4 Comments
3 min read
React Hook Mistakes Beginners Make

React Hook Mistakes Beginners Make

Reactions 2 Comments
5 min read
React class to functional: states

React class to functional: states

Reactions 1 Comments
1 min read
When I Actually Needed useLayoutEffect() in React

When I Actually Needed useLayoutEffect() in React

Comments
5 min read
Understanding the useRef hook in react

Understanding the useRef hook in react

Reactions 3 Comments 1
2 min read
React custom hook

React custom hook

Reactions 2 Comments
2 min read
Custom Hook to Manage Api Request

Custom Hook to Manage Api Request

Reactions 5 Comments
2 min read
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 4 Comments
3 min read
React: сфокусировать поле ввода по чекбоксу

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

Reactions 7 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
Hook useCallback - Entenda quando utiliza-lo?

Hook useCallback - 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 6 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
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 213 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
loading...