DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
React Functional Hooks Components > Stateful Class Components

React Functional Hooks Components > Stateful Class Components

8
Comments
1 min read
React Hooks - How to use state safely

React Hooks - How to use state safely

7
Comments
4 min read
DejaVu: Caching versus Memoization

DejaVu: Caching versus Memoization

63
Comments 3
11 min read
RxJS with React

RxJS with React

140
Comments 9
6 min read
Is the React Hooks enough?

Is the React Hooks enough?

20
Comments
6 min read
React Hooks: useState

React Hooks: useState

12
Comments
1 min read
Building Infinite scroll in React with hooks and Intersection Observer

Building Infinite scroll in React with hooks and Intersection Observer

99
Comments 6
10 min read
Clean Up Async Requests in `useEffect` Hooks

Clean Up Async Requests in `useEffect` Hooks

93
Comments 55
4 min read
Write unit tests for React Hooks

Write unit tests for React Hooks

58
Comments 2
3 min read
React hooks you should know about 🔥🔥🔥

React hooks you should know about 🔥🔥🔥

117
Comments 7
6 min read
Mimic React life cycle methods with Hooks

Mimic React life cycle methods with Hooks

6
Comments 1
6 min read
Merging refs

Merging refs

46
Comments 1
6 min read
Use Hooks In Class Components Too

Use Hooks In Class Components Too

15
Comments
5 min read
React Hooks in a Nutshell (Incl Data Fetching, Custom Hooks, Context and Usages)

React Hooks in a Nutshell (Incl Data Fetching, Custom Hooks, Context and Usages)

62
Comments 4
7 min read
React Custom Hooks: What, Why and How

React Custom Hooks: What, Why and How

51
Comments 2
3 min read
From React to Web Components: using hooks

From React to Web Components: using hooks

9
Comments
3 min read
Middlewares with react context and hooks

Middlewares with react context and hooks

28
Comments
4 min read
How to useCallback()

How to useCallback()

22
Comments 3
2 min read
useCallback and dependency abuse with React hooks

useCallback and dependency abuse with React hooks

10
Comments
3 min read
Refactoring An Old React App: Creating a Custom Hook to Make Fetch-Related Logic Reusable

Refactoring An Old React App: Creating a Custom Hook to Make Fetch-Related Logic Reusable

22
Comments 2
7 min read
Roll your Own Redux With useContext & useReducer

Roll your Own Redux With useContext & useReducer

19
Comments 2
4 min read
ReasonReact context explained in action

ReasonReact context explained in action

64
Comments 7
5 min read
React hooks (intermedian): useStateForm

React hooks (intermedian): useStateForm

8
Comments 1
2 min read
React Hooks Tic-Tac-Toe

React Hooks Tic-Tac-Toe

23
Comments 1
4 min read
usePageTitle custom reactjs hook

usePageTitle custom reactjs hook

20
Comments 5
1 min read
4 Ways to useEffect()

4 Ways to useEffect()

96
Comments 1
2 min read
Understanding React Hooks by building a simple App

Understanding React Hooks by building a simple App

83
Comments 2
4 min read
Combining useContext with useReducer (video)

Combining useContext with useReducer (video)

6
Comments
1 min read
React State for Dummies - How was it before React?

React State for Dummies - How was it before React?

10
Comments 4
7 min read
JavaScript Timer with React Hooks

JavaScript Timer with React Hooks

12
Comments
4 min read
React Live Resources

React Live Resources

15
Comments 1
2 min read
Custom Hooks and Sockets

Custom Hooks and Sockets

42
Comments
4 min read
Preact Composition API

Preact Composition API

15
Comments 5
8 min read
Create a signature pad in React

Create a signature pad in React

149
Comments 20
6 min read
Too Early for Hooks?

Too Early for Hooks?

5
Comments 2
1 min read
Dynamic Page Title with React Hooks

Dynamic Page Title with React Hooks

7
Comments
3 min read
ES6 Generators for State Management in React

ES6 Generators for State Management in React

25
Comments 2
3 min read
Building a Movie App with React Hooks and Cloudflare Workers

Building a Movie App with React Hooks and Cloudflare Workers

70
Comments 3
11 min read
Thinking in React Hooks

Thinking in React Hooks

10
Comments
3 min read
Using React Hooks

Using React Hooks

10
Comments
10 min read
React Hooks, my introduction

React Hooks, my introduction

4
Comments
7 min read
Using React useState hook with TypeScript

Using React useState hook with TypeScript

9
Comments
5 min read
Building Custom React Hooks

Building Custom React Hooks

138
Comments 1
5 min read
Apollo hooks: Why and how to use

Apollo hooks: Why and how to use

22
Comments
5 min read
`useBackButton` hook to handle back button behavior in React Native

`useBackButton` hook to handle back button behavior in React Native

10
Comments
3 min read
How to write 90% cleaner code with Hooks 🎣

How to write 90% cleaner code with Hooks 🎣

327
Comments 14
7 min read
Jumping into React or Hooks

Jumping into React or Hooks

39
Comments 2
5 min read
How I dropped Redux for the Context API

How I dropped Redux for the Context API

7
Comments
4 min read
React hooks vs Meteor reactive var

React hooks vs Meteor reactive var

6
Comments
2 min read
Testing of a Custom React Hook for Fetching Data with Axios

Testing of a Custom React Hook for Fetching Data with Axios

102
Comments 4
6 min read
Painless global state management for React using Hooks and Context API

Painless global state management for React using Hooks and Context API

7
Comments
1 min read
Practical React Hooks: How to refactor your app to use Hooks

Practical React Hooks: How to refactor your app to use Hooks

11
Comments
18 min read
Learn React Hooks and Context API by building a Recipe Search App (2)

Learn React Hooks and Context API by building a Recipe Search App (2)

58
Comments 9
15 min read
Why Effects shouldn't lie about their dependencies

Why Effects shouldn't lie about their dependencies

29
Comments 4
9 min read
How do you prepare your commits?

How do you prepare your commits?

16
Comments 7
5 min read
Composable Context API with Hooks

Composable Context API with Hooks

11
Comments
5 min read
Custom React Hooks: Creating a useClock Hook

Custom React Hooks: Creating a useClock Hook

10
Comments
2 min read
Let's learn React Hooks and Context API by building a Recipe Search App

Let's learn React Hooks and Context API by building a Recipe Search App

213
Comments 4
10 min read
Built my first chat-app with React Hooks exclusively. It was great.

Built my first chat-app with React Hooks exclusively. It was great.

61
Comments 4
2 min read
React Hooks: Initial State of Object Pitfall

React Hooks: Initial State of Object Pitfall

4
Comments
1 min read
loading...