DEV Community

# hook

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How not to useEffect

How not to useEffect

Comments
3 min read
Understanding useContext Hooks in React – An introduction and a Comprehensive Guide for Web Developers

Understanding useContext Hooks in React – An introduction and a Comprehensive Guide for Web Developers

2
Comments 1
4 min read
Understanding useEffect Hooks in React – An introduction and Comprehensive Guide for Web Developers

Understanding useEffect Hooks in React – An introduction and Comprehensive Guide for Web Developers

1
Comments
2 min read
Understanding useState Hook in React – An introduction and a Comprehensive Guide for Web Developers

Understanding useState Hook in React – An introduction and a Comprehensive Guide for Web Developers

5
Comments
2 min read
React 18 hooks

React 18 hooks

Comments
1 min read
Reusable Code: React Custom Hooks Guide

Reusable Code: React Custom Hooks Guide

Comments
3 min read
React Usecallback for Kids/Beginners

React Usecallback for Kids/Beginners

45
Comments 16
2 min read
Understanding the useState Hook in React

Understanding the useState Hook in React

4
Comments 5
2 min read
Optimizing Event Handlers in React using useCallback

Optimizing Event Handlers in React using useCallback

2
Comments
3 min read
Implement refetch with axis

Implement refetch with axis

Comments
1 min read
Handle component state using local storage: useLocalStorage with Typescript

Handle component state using local storage: useLocalStorage with Typescript

6
Comments
2 min read
Skills of writing unit test for react

Skills of writing unit test for react

5
Comments 5
6 min read
The practice of using Microsoft OAuth in the React hook

The practice of using Microsoft OAuth in the React hook

3
Comments
4 min read
Hooks in React

Hooks in React

33
Comments 5
3 min read
A Guide to Building Custom Hooks in React

A Guide to Building Custom Hooks in React

Comments
2 min read
A Guide to React Custom Hooks

A Guide to React Custom Hooks

34
Comments 8
3 min read
Mastering LocalStorage Management with React Hooks

Mastering LocalStorage Management with React Hooks

1
Comments
5 min read
React Performance Booster - Introduction to the useMemo hook

React Performance Booster - Introduction to the useMemo hook

55
Comments 27
3 min read
React Custom Hooks that can take props, but not always, what to do in TypeScript?

React Custom Hooks that can take props, but not always, what to do in TypeScript?

Comments
3 min read
useLocation Hook in React Router

useLocation Hook in React Router

1
Comments
5 min read
useLocation Hook in React Router

useLocation Hook in React Router

3
Comments
5 min read
Building a Custom React Hook: useIsAppOffline

Building a Custom React Hook: useIsAppOffline

1
Comments
4 min read
useLongPress Custom Hook

useLongPress Custom Hook

Comments
3 min read
REACT - useEffect : Comment ressusciter les méthodes du cycle de vie ?

REACT - useEffect : Comment ressusciter les méthodes du cycle de vie ?

Comments
8 min read
useMemeffect

useMemeffect

3
Comments 1
1 min read
Reusable pagination component using hook

Reusable pagination component using hook

Comments
1 min read
Renderprops vs Custom Hooks: Which one to use?

Renderprops vs Custom Hooks: Which one to use?

Comments
3 min read
React hook to show notification with Context

React hook to show notification with Context

Comments
4 min read
Intro a Custom Hooks

Intro a Custom Hooks

Comments
3 min read
Ditching useState and useReducer: Why useImmer is the better option

Ditching useState and useReducer: Why useImmer is the better option

106
Comments 44
7 min read
Introducing useCatch: The Easy Way to Create Error Boundaries in Fiddlehead

Introducing useCatch: The Easy Way to Create Error Boundaries in Fiddlehead

3
Comments
2 min read
Introduction to Fiddlehead: A Fast and Lightweight UI Library

Introduction to Fiddlehead: A Fast and Lightweight UI Library

9
Comments 4
2 min read
React | Create a custom counter hook.

React | Create a custom counter hook.

Comments
1 min read
React Hooks vs. Redux

React Hooks vs. Redux

179
Comments 41
4 min read
The Headless-UI Date Picker for React Apps

The Headless-UI Date Picker for React Apps

3
Comments 3
4 min read
¿Cómo usar de forma correcta Context en react? Parte 1

¿Cómo usar de forma correcta Context en react? Parte 1

1
Comments
2 min read
Browser Storage Hook React

Browser Storage Hook React

2
Comments
1 min read
Recommended React Hooks Convention

Recommended React Hooks Convention

7
Comments
5 min read
A good reason to use React18: useSyncExternalStore

A good reason to use React18: useSyncExternalStore

1
Comments
3 min read
C# git tips: Use git hook to test your code

C# git tips: Use git hook to test your code

3
Comments 2
2 min read
Simple React Global State Management

Simple React Global State Management

Comments
1 min read
Introduction to React Hooks 🪝

Introduction to React Hooks 🪝

8
Comments
3 min read
How to create composable forms using React Hook Form, Compound Components and Zod

How to create composable forms using React Hook Form, Compound Components and Zod

13
Comments 1
3 min read
What is a custom hook in React JS?

What is a custom hook in React JS?

1
Comments 2
1 min read
Week 8 - Todo-Delete App

Week 8 - Todo-Delete App

4
Comments
2 min read
Use a composable function to customize the table footer of vue3-easy-data-table

Use a composable function to customize the table footer of vue3-easy-data-table

3
Comments
2 min read
Guide to React hook- useReducer

Guide to React hook- useReducer

10
Comments 2
4 min read
context api in react

context api in react

3
Comments
1 min read
Week 7 - Todo-Add App

Week 7 - Todo-Add App

10
Comments
2 min read
React hooks: useSessionStorage and useLocalStorage

React hooks: useSessionStorage and useLocalStorage

18
Comments 3
1 min read
Ententendo o useEffect

Ententendo o useEffect

3
Comments
5 min read
Wrap your library in a React hook

Wrap your library in a React hook

13
Comments
2 min read
useOverlay - create floating things easily

useOverlay - create floating things easily

5
Comments 4
1 min read
Understanding react hook-useState()

Understanding react hook-useState()

13
Comments
2 min read
useImperativeHandle: A New Perspective in Making React Components

useImperativeHandle: A New Perspective in Making React Components

4
Comments
3 min read
Week 6 - Sum Two Numbers App

Week 6 - Sum Two Numbers App

3
Comments
1 min read
Week 5 - Disable Button App

Week 5 - Disable Button App

6
Comments
1 min read
Giải thích đơn giản về React.useEffect ()

Giải thích đơn giản về React.useEffect ()

5
Comments
8 min read
Hướng dẫn hoàn chỉnh để sử dụngRef () và Refs trong React

Hướng dẫn hoàn chỉnh để sử dụngRef () và Refs trong React

8
Comments
8 min read
⚛️ React Intersection Observer 👀 Hook 🪝.

⚛️ React Intersection Observer 👀 Hook 🪝.

9
Comments
2 min read
loading...