DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Revisiting Redux with Context and Hooks

Revisiting Redux with Context and Hooks

19
Comments 14
6 min read
React form validation with Hook in 5kB

React form validation with Hook in 5kB

20
Comments 3
3 min read
ReasonReact: use DOM API and hooks to detect click outside

ReasonReact: use DOM API and hooks to detect click outside

21
Comments
5 min read
Testing React Hook State Changes

Testing React Hook State Changes

92
Comments 23
2 min read
Redirect with React Router and Hooks

Redirect with React Router and Hooks

28
Comments 12
2 min read
Using React Hooks to simplify Apollo Client

Using React Hooks to simplify Apollo Client

14
Comments 1
2 min read
Manage Browser Cookies with React Hooks

Manage Browser Cookies with React Hooks

9
Comments 1
1 min read
Seriously - do React hooks replace state containers?

Seriously - do React hooks replace state containers?

30
Comments 9
6 min read
IntersectionObserver API with React Hooks

IntersectionObserver API with React Hooks

19
Comments
4 min read
Controlling component visibility with React Hooks

Controlling component visibility with React Hooks

6
Comments
4 min read
React's bogus setState anti-pattern

React's bogus setState anti-pattern

14
Comments 5
3 min read
Greensock Animations using React Hooks

Greensock Animations using React Hooks

29
Comments 3
2 min read
React Hooks cheat sheet: Unlock solutions to common problems

React Hooks cheat sheet: Unlock solutions to common problems

50
Comments
14 min read
Let's make a reusable React hook!

Let's make a reusable React hook!

21
Comments 1
4 min read
Writing a custom react hook that persists to local storage

Writing a custom react hook that persists to local storage

20
Comments 2
3 min read
Using Firebase with React Hooks

Using Firebase with React Hooks

130
Comments 17
3 min read
Three Ways to use Hooks to Build Better React Components

Three Ways to use Hooks to Build Better React Components

12
Comments
5 min read
Think you need to useReducer? You might want to useMethods instead

Think you need to useReducer? You might want to useMethods instead

28
Comments 1
4 min read
Creating a Custom React Hook for Gatsby Site Metadata

Creating a Custom React Hook for Gatsby Site Metadata

33
Comments 3
4 min read
Expand & collapse groups of items in a list.

Expand & collapse groups of items in a list.

13
Comments
4 min read
How To add dark mode easily with a custom React hook

How To add dark mode easily with a custom React hook

43
Comments 3
2 min read
From ReactJS Class Component to Functional Component - useState (Part 1)

From ReactJS Class Component to Functional Component - useState (Part 1)

16
Comments 1
2 min read
Refactor a form with React Hooks and useState

Refactor a form with React Hooks and useState

57
Comments 9
2 min read
Basics of making custom hooks in React

Basics of making custom hooks in React

14
Comments 1
3 min read
React: useReducer hooks demo with nested select boxes

React: useReducer hooks demo with nested select boxes

12
Comments 1
2 min read
loading...