Forem

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Building Infinite scroll in React with hooks and Intersection Observer

Building Infinite scroll in React with hooks and Intersection Observer

100
Comments 6
10 min read
Clean Up Async Requests in `useEffect` Hooks
Cover image for Clean Up Async Requests in `useEffect` Hooks

Clean Up Async Requests in `useEffect` Hooks

107
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
Merging refs
Cover image for Merging refs

Merging refs

46
Comments 1
6 min read
Use Hooks In Class Components Too
Cover image for 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
Cover image for 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
React is finally JavaScript

React is finally JavaScript

60
Comments 16
1 min read
Refactoring An Old React App: Creating a Custom Hook to Make Fetch-Related Logic Reusable
Cover image for 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
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
Roll your Own Redux With useContext & useReducer
Cover image for Roll your Own Redux With useContext & useReducer

Roll your Own Redux With useContext & useReducer

19
Comments 2
4 min read
4 Ways to useEffect()

4 Ways to useEffect()

101
Comments 1
2 min read
Understanding React Hooks by building a simple App
Cover image for 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?
Cover image for React State for Dummies - How was it before React?

React State for Dummies - How was it before React?

11
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
loading...