DEV Community

# hooks

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Understanding how to use Redux using React Hooks in 5 minutes

Understanding how to use Redux using React Hooks in 5 minutes

9
Comments
2 min read
How To Create pre-commit Hooks For Git

How To Create pre-commit Hooks For Git

7
Comments
5 min read
A better way to place your Cage

A better way to place your Cage

7
Comments
1 min read
Micro-Lesson: Shiny Object Syndrome and the Law of the Instrument

Micro-Lesson: Shiny Object Syndrome and the Law of the Instrument

5
Comments
1 min read
Building a SPA with React and Okta for authentication.

Building a SPA with React and Okta for authentication.

27
Comments 3
10 min read
React Component Lifecycle Events using React Hooks

React Component Lifecycle Events using React Hooks

20
Comments
1 min read
How to optimize shared states in React

How to optimize shared states in React

19
Comments
4 min read
Creating a form validation hook for React apps

Creating a form validation hook for React apps

36
Comments 1
20 min read
React Redux with hooks

React Redux with hooks

178
Comments 13
3 min read
using useEffect effectively

using useEffect effectively

42
Comments
3 min read
Stale State in React Hooks

Stale State in React Hooks

10
Comments
2 min read
Measuring Text on React with Hooks

Measuring Text on React with Hooks

16
Comments
2 min read
useEffect()-React Hooks(P2)

useEffect()-React Hooks(P2)

16
Comments
1 min read
Complete useRef() hook with live code examples

Complete useRef() hook with live code examples

13
Comments
3 min read
React Is Eating Itself

React Is Eating Itself

160
Comments 52
11 min read
Your next React Modal with your own "useModal" Hook & Context API.

Your next React Modal with your own "useModal" Hook & Context API.

99
Comments 13
5 min read
React Portals: Flexible Modal Implementation

React Portals: Flexible Modal Implementation

23
Comments 2
2 min read
useState() React Hooks(P1)

useState() React Hooks(P1)

17
Comments 7
1 min read
Using Auth0 Hooks to store user information

Using Auth0 Hooks to store user information

15
Comments
3 min read
Get hooked on Hooks.

Get hooked on Hooks.

6
Comments 1
2 min read
useHover hooked a fool. The fool was me

useHover hooked a fool. The fool was me

8
Comments
3 min read
The useMemo() hook in ReactJS has a short memory

The useMemo() hook in ReactJS has a short memory

6
Comments
1 min read
React hooks with TypeScript

React hooks with TypeScript

32
Comments 1
3 min read
Git Hooks, Git Gud.

Git Hooks, Git Gud.

7
Comments
3 min read
React: Create component inside a component (?)

React: Create component inside a component (?)

22
Comments 7
2 min read
Quick Introduction to React Custom Hooks With Dropdown Selection

Quick Introduction to React Custom Hooks With Dropdown Selection

29
Comments 6
5 min read
Using Chart.js in a function component with React hooks

Using Chart.js in a function component with React hooks

63
Comments 5
2 min read
Let’s Build: Workout tracker with React and Firebase part 1: project setup

Let’s Build: Workout tracker with React and Firebase part 1: project setup

38
Comments 1
2 min read
Let’s Build: Workout tracker with React and Firebase part 3: custom calendar

Let’s Build: Workout tracker with React and Firebase part 3: custom calendar

14
Comments 3
8 min read
Let’s Build: Workout tracker with React and Firebase part 2: authentication

Let’s Build: Workout tracker with React and Firebase part 2: authentication

17
Comments
7 min read
An easy scroll box implementation

An easy scroll box implementation

88
Comments 7
8 min read
Beware of these traps on state and props management using react-hooks

Beware of these traps on state and props management using react-hooks

11
Comments 5
2 min read
Is it ever OK to set state directly? A setState cheat sheet

Is it ever OK to set state directly? A setState cheat sheet

7
Comments
3 min read
A guide to stale-while-revalidate data fetching with React Hooks

A guide to stale-while-revalidate data fetching with React Hooks

15
Comments
16 min read
Few Tips to Optimizing Performance of React Project

Few Tips to Optimizing Performance of React Project

52
Comments 2
5 min read
Redux Data Flow and React Component Life Cycle

Redux Data Flow and React Component Life Cycle

94
Comments
5 min read
Protected Routes with React Function Components

Protected Routes with React Function Components

237
Comments 24
11 min read
Turning your React Component into a Finite State Machine With useReducer

Turning your React Component into a Finite State Machine With useReducer

39
Comments 4
4 min read
Sanely Testing React Hooks

Sanely Testing React Hooks

13
Comments 4
4 min read
Using React Hooks With Apollo

Using React Hooks With Apollo

16
Comments
4 min read
React Pitfalls: useState initialization

React Pitfalls: useState initialization

10
Comments 2
4 min read
Programmatically positioning elements with React Hooks

Programmatically positioning elements with React Hooks

59
Comments
2 min read
Simplest React Hook component for PWA install button

Simplest React Hook component for PWA install button

24
Comments 9
1 min read
Autosaving with React Hooks

Autosaving with React Hooks

69
Comments 5
3 min read
React Hooks: Creating Custom State Hook

React Hooks: Creating Custom State Hook

26
Comments 5
2 min read
React eCommerce Site: Hooks, Firebase, and AirBNB Linter

React eCommerce Site: Hooks, Firebase, and AirBNB Linter

12
Comments
1 min read
Redux Hooks!

Redux Hooks!

13
Comments 14
2 min read
Warped Re-rendering | React performance optimization

Warped Re-rendering | React performance optimization

20
Comments 7
3 min read
Achieve the power of React hooks and composition

Achieve the power of React hooks and composition

25
Comments
3 min read
Creating a searchable movie app using React, styled-components and react hooks

Creating a searchable movie app using React, styled-components and react hooks

24
Comments
9 min read
You don't need useReducer

You don't need useReducer

23
Comments 6
3 min read
Learn React Hooks in 5 Minutes - A Beginner's Tutorial

Learn React Hooks in 5 Minutes - A Beginner's Tutorial

13
Comments
5 min read
Rendering images smoothly using React Hooks

Rendering images smoothly using React Hooks

11
Comments
1 min read
Use Hooks in React Redux

Use Hooks in React Redux

17
Comments 1
3 min read
Build Todo App with ReactJS Functional Components (hooks) and Class Components

Build Todo App with ReactJS Functional Components (hooks) and Class Components

57
Comments
5 min read
Junior to Senior - Refactoring a React pan and zoom image component

Junior to Senior - Refactoring a React pan and zoom image component

39
Comments 2
10 min read
Simple Element Queries With React Hooks

Simple Element Queries With React Hooks

18
Comments 1
3 min read
"useSWR" - React Hooks for Remote Data Fetching

"useSWR" - React Hooks for Remote Data Fetching

104
Comments 12
3 min read
Testing API Request Hooks with Jest, Sinon, and react-testing-library

Testing API Request Hooks with Jest, Sinon, and react-testing-library

15
Comments 5
6 min read
Making a Snake Game Using React Hooks

Making a Snake Game Using React Hooks

16
Comments
3 min read
loading...