DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
A comprehensive overview of React State libraries

A comprehensive overview of React State libraries

22
Comments 2
8 min read
A small collection of useful React hooks.

A small collection of useful React hooks.

132
Comments 8
1 min read
How To Let Your React Code Speak For Itself

How To Let Your React Code Speak For Itself

6
Comments
5 min read
Como usar Google Maps API y React Hooks

Como usar Google Maps API y React Hooks

5
Comments
3 min read
Understanding Formik hooks with use case(complex)

Understanding Formik hooks with use case(complex)

7
Comments
2 min read
Adding dark mode to your React app with hooks, media queries and CSS variables

Adding dark mode to your React app with hooks, media queries and CSS variables

65
Comments 1
10 min read
Google Tag Manager Hook for React

Google Tag Manager Hook for React

17
Comments 3
2 min read
React Context API + useReducer() = Redux

React Context API + useReducer() = Redux

23
Comments 3
3 min read
How to detect the Browser window Size with Hooks

How to detect the Browser window Size with Hooks

4
Comments
1 min read
Beginners Guide To React Hooks : Getting Started With React Hooks🔥🔥

Beginners Guide To React Hooks : Getting Started With React Hooks🔥🔥

86
Comments 3
4 min read
Ways to Handle Deep Object Comparison in useEffect hook

Ways to Handle Deep Object Comparison in useEffect hook

26
Comments 1
2 min read
React-Router Hooks: A Brief Introduction

React-Router Hooks: A Brief Introduction

26
Comments
3 min read
Updating multiple DOM nodes using React Hooks

Updating multiple DOM nodes using React Hooks

3
Comments
3 min read
Referential Equality in React

Referential Equality in React

32
Comments 6
4 min read
How to get rid of unnecessary props in React.js

How to get rid of unnecessary props in React.js

14
Comments
4 min read
Simple React Shopping Cart

Simple React Shopping Cart

68
Comments 9
1 min read
Complex Custom Hooks with createContext();

Complex Custom Hooks with createContext();

7
Comments 2
1 min read
react-uploady: uploading files in React

react-uploady: uploading files in React

11
Comments
3 min read
Help with Image Click Through (Like a Carousel) using React Hooks

Help with Image Click Through (Like a Carousel) using React Hooks

5
Comments 1
2 min read
Adios Redux: using React hooks and Context effectively

Adios Redux: using React hooks and Context effectively

285
Comments 19
9 min read
Migrating class components to hooks

Migrating class components to hooks

38
Comments
9 min read
React Hooks 101

React Hooks 101

10
Comments
5 min read
5 ways that will change how you write React hooks

5 ways that will change how you write React hooks

191
Comments 6
3 min read
How to create a progressive audio player with React hooks

How to create a progressive audio player with React hooks

35
Comments 14
3 min read
I have created a game with React-Native

I have created a game with React-Native

9
Comments
1 min read
Add blog posts to personal site using DEV.to API, React and React hooks.

Add blog posts to personal site using DEV.to API, React and React hooks.

47
Comments 5
3 min read
When Should You Convert Your Classes to Hooks??

When Should You Convert Your Classes to Hooks??

35
Comments 2
12 min read
Writing a Custom useWindowSize React Hook

Writing a Custom useWindowSize React Hook

60
Comments
2 min read
useStateWithPromise: a custom hook to await state updates of useState

useStateWithPromise: a custom hook to await state updates of useState

17
Comments 4
6 min read
the correct way to fetch data with react hooks

the correct way to fetch data with react hooks

71
Comments 12
3 min read
I replaced useState hook with custom one

I replaced useState hook with custom one

68
Comments 9
5 min read
Refactoring: Build a Date Picker in 15mins Using Javascript/React from Scratch

Refactoring: Build a Date Picker in 15mins Using Javascript/React from Scratch

7
Comments 2
3 min read
Constructors in Functional Components With Hooks

Constructors in Functional Components With Hooks

148
Comments 36
8 min read
A Hooks-vs-Classes Report Card

A Hooks-vs-Classes Report Card

46
Comments 20
15 min read
use-custom-hook: Custom React Hook starter

use-custom-hook: Custom React Hook starter

7
Comments 1
1 min read
Creating useEffect in nodejs

Creating useEffect in nodejs

8
Comments
1 min read
Debounce Any Effect by Creating Your Own useDebouncedEffect Hook

Debounce Any Effect by Creating Your Own useDebouncedEffect Hook

56
Comments 3
2 min read
Decluttering React Form Logic

Decluttering React Form Logic

11
Comments
7 min read
Hacking React Hooks: Shared Global State

Hacking React Hooks: Shared Global State

40
Comments 6
7 min read
Using the functional updates pattern with React hooks

Using the functional updates pattern with React hooks

12
Comments
1 min read
Reinventing the Wheel With React Hooks

Reinventing the Wheel With React Hooks

40
Comments 15
10 min read
React Hooks | My Package

React Hooks | My Package

9
Comments 6
2 min read
Avoiding Race Conditions when Fetching Data with React Hooks

Avoiding Race Conditions when Fetching Data with React Hooks

63
Comments 15
3 min read
How to mock React hooks using dependency injection

How to mock React hooks using dependency injection

44
Comments 4
3 min read
Passing Data from Child to Parent with React Hooks

Passing Data from Child to Parent with React Hooks

146
Comments 14
4 min read
react-fluent-form: How to write forms with validation in few steps

react-fluent-form: How to write forms with validation in few steps

20
Comments 1
9 min read
Basic React Hooks using TypeScript - useState, useEffect

Basic React Hooks using TypeScript - useState, useEffect

11
Comments
4 min read
Show/Hide Password on toggle in React Hooks

Show/Hide Password on toggle in React Hooks

64
Comments 7
2 min read
Testing custom Apollo hooks with React Testing Library

Testing custom Apollo hooks with React Testing Library

29
Comments 4
3 min read
How to (really) remove eventListeners in React

How to (really) remove eventListeners in React

54
Comments 8
2 min read
A guide to React Native life cycle hooks

A guide to React Native life cycle hooks

6
Comments
19 min read
Why I detest React Hooks

Why I detest React Hooks

5
Comments 1
3 min read
Cancel your promises when a component unmounts

Cancel your promises when a component unmounts

34
Comments 10
4 min read
Convert to React Hooks in 6 easy steps

Convert to React Hooks in 6 easy steps

12
Comments
11 min read
Plaid Inspired Inputs with React Hooks and Styled Components

Plaid Inspired Inputs with React Hooks and Styled Components

11
Comments 2
8 min read
I don't like React Hooks

I don't like React Hooks

6
Comments 4
2 min read
HOW TO WRITE MAINTAINABLE CODE

HOW TO WRITE MAINTAINABLE CODE

10
Comments
2 min read
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
loading...