DEV Community

# hook

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
Reusable pagination component using hook

Reusable pagination component using hook

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

Ditching useState and useReducer: Why useImmer is the better option

Reactions 100 Comments 38
7 min read
Further Understanding Hooks: How to Properly Understand the Lifecycle of Function Components?

Further Understanding Hooks: How to Properly Understand the Lifecycle of Function Components?

Reactions 1 Comments
8 min read
React hook to show notification with Context

React hook to show notification with Context

Comments
4 min read
Built-in Hooks (2): Why Should We Avoid Re-Defining Callback Functions?

Built-in Hooks (2): Why Should We Avoid Re-Defining Callback Functions?

Reactions 2 Comments
10 min read
Introducing useCatch: The Easy Way to Create Error Boundaries in Fiddlehead

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

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

Introduction to Fiddlehead: A Fast and Lightweight UI Library

Reactions 9 Comments 4
2 min read
Built-in Hooks (1): How to Preserve Component State and Use LifeCycle?

Built-in Hooks (1): How to Preserve Component State and Use LifeCycle?

Reactions 4 Comments 3
8 min read
React Hooks vs. Redux

React Hooks vs. Redux

Reactions 174 Comments 39
4 min read
The Headless-UI Date Picker for React Apps

The Headless-UI Date Picker for React Apps

Reactions 2 Comments
4 min read
Recommended React Hooks Convention

Recommended React Hooks Convention

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

A good reason to use React18: useSyncExternalStore

Reactions 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

Reactions 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

Reactions 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

Reactions 11 Comments
3 min read
Ententendo o useEffect

Ententendo o useEffect

Reactions 3 Comments
5 min read
What is a custom hook in React JS?

What is a custom hook in React JS?

Reactions 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

Reactions 3 Comments
2 min read
Guide to React hook- useReducer

Guide to React hook- useReducer

Reactions 7 Comments 2
4 min read
React hooks: useSessionStorage and useLocalStorage

React hooks: useSessionStorage and useLocalStorage

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

Week 7 - Todo-Add App

Reactions 10 Comments
2 min read
Wrap your library in a React hook

Wrap your library in a React hook

Reactions 13 Comments
2 min read
Week 5 - Disable Button App

Week 5 - Disable Button App

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

Understanding react hook-useState()

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

⚛️ React Intersection Observer 👀 Hook 🪝.

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

Week 6 - Sum Two Numbers App

Reactions 3 Comments
1 min read
Week 4 - Handle Input App

Week 4 - Handle Input App

Reactions 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 ()

Reactions 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

Reactions 8 Comments
8 min read
Week 3 - Toggle App

Week 3 - Toggle App

Reactions 6 Comments
1 min read
React Cookie 🍪 Hook

React Cookie 🍪 Hook

Reactions 4 Comments
1 min read
Code reference form input with useReducer

Code reference form input with useReducer

Reactions 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

Reactions 11 Comments
5 min read
Axios Interceptor Hook Typescript

Axios Interceptor Hook Typescript

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

Create your own pre-commit hook

Reactions 7 Comments 1
4 min read
React.useCallback()

React.useCallback()

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

Custom React Hook - useIntersection with Intersection Observer

Reactions 9 Comments
1 min read
What is useState hook in React?

What is useState hook in React?

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

Reactions 5 Comments
2 min read
What is Custom Hook?

What is Custom Hook?

Reactions 6 Comments
2 min read
Comprendre et utiliser useCallback - Tuto

Comprendre et utiliser useCallback - Tuto

Reactions 6 Comments
4 min read
How to create a custom React hook to fetch an API (using TypeScript)?

How to create a custom React hook to fetch an API (using TypeScript)?

Reactions 36 Comments 4
5 min read
React native simple FPS counter

React native simple FPS counter

Reactions 7 Comments
3 min read
🎃 Hacktoberfest 2021 Hype!

🎃 Hacktoberfest 2021 Hype!

Reactions 5 Comments
1 min read
A Keyboard Avoiding View for React Native in 2021

A Keyboard Avoiding View for React Native in 2021

Reactions 7 Comments 2
4 min read
✨ Introducing react-cool-virtual: A tiny React hook for rendering large datasets like a breeze

✨ Introducing react-cool-virtual: A tiny React hook for rendering large datasets like a breeze

Reactions 7 Comments
11 min read
All About React

All About React

Reactions 4 Comments
2 min read
React useFilter Hook

React useFilter Hook

Reactions 7 Comments
2 min read
Infinite Scroll with React Hook & Intersection Observer

Infinite Scroll with React Hook & Intersection Observer

Reactions 52 Comments 2
1 min read
A Custom React Hook that handles duplicate API call

A Custom React Hook that handles duplicate API call

Reactions 20 Comments 2
1 min read
Custom React Hook - useObjectState

Custom React Hook - useObjectState

Reactions 13 Comments
1 min read
Complete TEMPLATE for REACT SPA (2021)

Complete TEMPLATE for REACT SPA (2021)

Reactions 11 Comments
13 min read
How to use the useEffect React hook 🎈

How to use the useEffect React hook 🎈

Reactions 6 Comments
2 min read
Popular patterns and anti-patterns with React Hooks

Popular patterns and anti-patterns with React Hooks

Reactions 116 Comments 3
6 min read
ทำความเข้า useEffect ตั้งแต่เริ่มต้น

ทำความเข้า useEffect ตั้งแต่เริ่มต้น

Reactions 4 Comments
2 min read
Recoil과 hook으로 global 모달 만들기

Recoil과 hook으로 global 모달 만들기

Reactions 4 Comments
2 min read
Consumindo uma API GraphQL com SWR

Consumindo uma API GraphQL com SWR

Reactions 3 Comments 1
5 min read
loading...