DEV Community

# hook

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Reusable Code: React Custom Hooks Guide

Reusable Code: React Custom Hooks Guide

Comments
3 min read
How not to useEffect

How not to useEffect

Comments
3 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
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
React Usecallback for Kids/Beginners

React Usecallback for Kids/Beginners

45
Comments 16
2 min read
Optimizing Event Handlers in React using useCallback

Optimizing Event Handlers in React using useCallback

2
Comments
3 min read
Understanding the useState Hook in React

Understanding the useState Hook in React

4
Comments 5
2 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
React Performance Booster - Introduction to the useMemo hook

React Performance Booster - Introduction to the useMemo hook

55
Comments 27
3 min read
useLocation Hook in React Router

useLocation Hook in React Router

3
Comments
5 min read
Mastering LocalStorage Management with React Hooks

Mastering LocalStorage Management with React Hooks

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

Building a Custom React Hook: useIsAppOffline

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

Renderprops vs Custom Hooks: Which one to use?

Comments
3 min read
Intro a Custom Hooks

Intro a Custom Hooks

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
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
Reusable pagination component using hook

Reusable pagination component using hook

Comments
1 min read
React hook to show notification with Context

React hook to show notification with Context

Comments
4 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 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
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
Week 8 - Todo-Delete App

Week 8 - Todo-Delete App

4
Comments
2 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
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
React hooks: useSessionStorage and useLocalStorage

React hooks: useSessionStorage and useLocalStorage

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

Week 7 - Todo-Add App

10
Comments
2 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
Week 5 - Disable Button App

Week 5 - Disable Button App

6
Comments
1 min read
Understanding react hook-useState()

Understanding react hook-useState()

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

⚛️ React Intersection Observer 👀 Hook 🪝.

9
Comments
2 min read
Week 6 - Sum Two Numbers App

Week 6 - Sum Two Numbers App

3
Comments
1 min read
Week 4 - Handle Input App

Week 4 - Handle Input App

9
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
Week 3 - Toggle App

Week 3 - Toggle App

6
Comments
1 min read
React Cookie 🍪 Hook

React Cookie 🍪 Hook

4
Comments
1 min read
Code reference form input with useReducer

Code reference form input with useReducer

6
Comments
2 min read
🧿 Turn React into SolidJS, update on demand, no more re-render

🧿 Turn React into SolidJS, update on demand, no more re-render

11
Comments
5 min read
Axios Interceptor Hook Typescript

Axios Interceptor Hook Typescript

12
Comments
3 min read
Create your own pre-commit hook

Create your own pre-commit hook

8
Comments 2
4 min read
React.useCallback()

React.useCallback()

7
Comments
2 min read
Custom React Hook - useIntersection with Intersection Observer

Custom React Hook - useIntersection with Intersection Observer

10
Comments
1 min read
What is useState hook in React?

What is useState hook in React?

2
Comments
5 min read
React - Don't update parent state in the rendering phase of the child

React - Don't update parent state in the rendering phase of the child

5
Comments
2 min read
What is Custom Hook?

What is Custom Hook?

6
Comments
2 min read
loading...