DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Are you using context right?

Are you using context right?

7
Comments
5 min read
How to send data (state and props) between unrelated components in react

How to send data (state and props) between unrelated components in react

12
Comments
3 min read
A Really Simple Intro to Changing Styling Using React State

A Really Simple Intro to Changing Styling Using React State

26
Comments 2
3 min read
useCancelToken: a custom React hook for cancelling Axios requests

useCancelToken: a custom React hook for cancelling Axios requests

33
Comments 10
5 min read
Medium like Blog Post Builder in React with graphql using typescript

Medium like Blog Post Builder in React with graphql using typescript

26
Comments 2
5 min read
Did I just build a better useCallback?

Did I just build a better useCallback?

2
Comments
4 min read
How useRef turned out to be useMemo's father

How useRef turned out to be useMemo's father

6
Comments
2 min read
My first project with React ts + Hooks

My first project with React ts + Hooks

19
Comments 2
3 min read
A Really Simple Intro to useState in React

A Really Simple Intro to useState in React

9
Comments
3 min read
How to use the useState React hook 🎉

How to use the useState React hook 🎉

5
Comments
1 min read
Building a simple slideshow component in React using Hooks

Building a simple slideshow component in React using Hooks

9
Comments
2 min read
React Query - A practical example.

React Query - A practical example.

87
Comments 7
4 min read
useEffect Hook

useEffect Hook

6
Comments
2 min read
Mutable values with React.useRef()

Mutable values with React.useRef()

13
Comments 1
2 min read
The Rules of React Hooks - And How We Messed up

The Rules of React Hooks - And How We Messed up

5
Comments
6 min read
React Hook Form

React Hook Form

7
Comments 5
3 min read
useSpriteAnimation() like how Facebook does it using React Hooks

useSpriteAnimation() like how Facebook does it using React Hooks

5
Comments
1 min read
The declarative spirits of React Hooks

The declarative spirits of React Hooks

6
Comments
2 min read
Multi-language (i18n) Gatsby app with Hooks

Multi-language (i18n) Gatsby app with Hooks

7
Comments
5 min read
Having fun with React Custom Hooks

Having fun with React Custom Hooks

5
Comments
3 min read
Utilizando useHistory no React

Utilizando useHistory no React

8
Comments
1 min read
Meu primeiro projeto com React ts + Hooks

Meu primeiro projeto com React ts + Hooks

28
Comments 2
3 min read
Create Mobx Store In React Native using Hooks & Combining multiple stores

Create Mobx Store In React Native using Hooks & Combining multiple stores

4
Comments 1
1 min read
Writing your 1st Custom Hook

Writing your 1st Custom Hook

25
Comments
5 min read
Creating a custom React hook to get the window's dimensions in Next.js

Creating a custom React hook to get the window's dimensions in Next.js

75
Comments 5
2 min read
React TypeScript Hooks issue when returning array

React TypeScript Hooks issue when returning array

10
Comments
4 min read
React Hooks (from Class to Functional)

React Hooks (from Class to Functional)

6
Comments
4 min read
Manage Functionalities in Large Apps using Custom React Hooks

Manage Functionalities in Large Apps using Custom React Hooks

10
Comments 1
5 min read
Hooked #5: Consensus

Hooked #5: Consensus

5
Comments
5 min read
Creating a weather app with Reactjs - Part 1

Creating a weather app with Reactjs - Part 1

94
Comments
3 min read
Creating a weather app with Reactjs - Part 3

Creating a weather app with Reactjs - Part 3

4
Comments 4
3 min read
Creating a weather app with Reactjs - Part 2

Creating a weather app with Reactjs - Part 2

15
Comments
3 min read
Why You Should Be Writing React Custom Hooks

Why You Should Be Writing React Custom Hooks

47
Comments 5
5 min read
Understanding React hooks

Understanding React hooks

147
Comments 5
4 min read
useState and useEffect

useState and useEffect

2
Comments
3 min read
A simple rule for using callbacks in React

A simple rule for using callbacks in React

21
Comments
7 min read
Implementing fast-image for react-native expo apps.

Implementing fast-image for react-native expo apps.

15
Comments 1
4 min read
Hooked #4: Every Microsecond Counts

Hooked #4: Every Microsecond Counts

5
Comments
5 min read
Common UseEffects mistakes that even seniors are making

Common UseEffects mistakes that even seniors are making

21
Comments 7
2 min read
What are HOOKS in React?

What are HOOKS in React?

11
Comments 5
3 min read
Converting a React Class Component with Connect to a Functional Component using React Hooks

Converting a React Class Component with Connect to a Functional Component using React Hooks

7
Comments
6 min read
A Simple Guide to Build React Form with Hooks

A Simple Guide to Build React Form with Hooks

2
Comments
3 min read
Synchronous State With React Hooks

Synchronous State With React Hooks

34
Comments 16
8 min read
My First React Custom Hook

My First React Custom Hook

3
Comments
1 min read
The best Couple: useContext + useReducer !

The best Couple: useContext + useReducer !

64
Comments 4
2 min read
Performance optimization Hook: *useCallback* and *useMemo* hook!

Performance optimization Hook: *useCallback* and *useMemo* hook!

7
Comments
1 min read
Dynamically Create Toggle Switch List for Attendance w/ Hooks & MaterialUI

Dynamically Create Toggle Switch List for Attendance w/ Hooks & MaterialUI

8
Comments
3 min read
How and when to use React useCallback()

How and when to use React useCallback()

6
Comments
7 min read
Fetch using useReducer!

Fetch using useReducer!

19
Comments
1 min read
useReducer Vs useState (The War)

useReducer Vs useState (The War)

4
Comments
1 min read
Context ApI + useContext Hook (The deadly Beast)!!

Context ApI + useContext Hook (The deadly Beast)!!

16
Comments
2 min read
useReducer (The Intermediate):

useReducer (The Intermediate):

4
Comments
2 min read
useReducer final destination (Signing Off):

useReducer final destination (Signing Off):

2
Comments
2 min read
useState Hook as simple as a 'cake'!

useState Hook as simple as a 'cake'!

18
Comments 1
1 min read
useIpAdrress()

useIpAdrress()

7
Comments
1 min read
why should we use React hooks?!

why should we use React hooks?!

14
Comments 3
3 min read
Illustrated Notes on Custom React Hooks

Illustrated Notes on Custom React Hooks

89
Comments 5
3 min read
haxHooks(): How elements can supply their own editing experience in HAX now!

haxHooks(): How elements can supply their own editing experience in HAX now!

6
Comments
3 min read
A simple WebSocket between Java and React (with hooks)

A simple WebSocket between Java and React (with hooks)

11
Comments
5 min read
CSS-vars-hook: How to manipulate CSS Custom properties in React

CSS-vars-hook: How to manipulate CSS Custom properties in React

12
Comments
3 min read
loading...