DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Supercharge your React app with useSWR

Supercharge your React app with useSWR

4
Comments 7
5 min read
How to Use the useState Hook to Show/Hide Content in React

How to Use the useState Hook to Show/Hide Content in React

Comments
2 min read
How to build a Movie App in React using TMDB API

How to build a Movie App in React using TMDB API

Comments
3 min read
React Performance: use(State | Reducer | Ref) theoretical summary

React Performance: use(State | Reducer | Ref) theoretical summary

Comments
5 min read
Need of useEffect Cleanup Function

Need of useEffect Cleanup Function

2
Comments
2 min read
React Hooks Fundamentals: A Beginner's Guide

React Hooks Fundamentals: A Beginner's Guide

3
Comments 2
9 min read
The Lifecycle of React Components

The Lifecycle of React Components

1
Comments
9 min read
Several ways to handle request side effect that you should know

Several ways to handle request side effect that you should know

6
Comments
1 min read
Developers might be using useEffect wrong this whole time

Developers might be using useEffect wrong this whole time

2
Comments 1
2 min read
useState when to use?

useState when to use?

3
Comments
1 min read
When not to use Effect ?

When not to use Effect ?

Comments
5 min read
Mock React hooks based on environment

Mock React hooks based on environment

Comments
1 min read
A better useReducer: useHyperState

A better useReducer: useHyperState

5
Comments
5 min read
Complete Guide to useState Hook in React

Complete Guide to useState Hook in React

5
Comments
4 min read
Understanding React Hooks: How to Use useRef, useMemo, and useCallback for More Efficient Code

Understanding React Hooks: How to Use useRef, useMemo, and useCallback for More Efficient Code

10
Comments 4
9 min read
Using the Local Storage API in React: Creating a custom hook component

Using the Local Storage API in React: Creating a custom hook component

4
Comments
5 min read
React Hooks by Example - Part 2

React Hooks by Example - Part 2

Comments
6 min read
Detecting clicks outside an HTML element using the custom React Hook

Detecting clicks outside an HTML element using the custom React Hook

Comments
4 min read
useState Hook: A staple that every React user should know how to use

useState Hook: A staple that every React user should know how to use

Comments
5 min read
React Hooks by Example - Part 1

React Hooks by Example - Part 1

6
Comments 2
4 min read
The ContentAfterCheck Hook in Angular

The ContentAfterCheck Hook in Angular

1
Comments 2
1 min read
React Hooks, the bad side

React Hooks, the bad side

3
Comments
4 min read
Criando react hook personalizado para fazer requisições

Criando react hook personalizado para fazer requisições

4
Comments 2
2 min read
React State Management: When to Use useState and useReducer Hooks

React State Management: When to Use useState and useReducer Hooks

1
Comments
2 min read
React basics, a frontend project.

React basics, a frontend project.

Comments
4 min read
Don't use useEffect

Don't use useEffect

28
Comments 13
2 min read
Intro to React Context

Intro to React Context

10
Comments
2 min read
useHistory Hook in React for App Navigation

useHistory Hook in React for App Navigation

2
Comments
3 min read
React counter component two different ways - useReducer and customHooks.

React counter component two different ways - useReducer and customHooks.

Comments
3 min read
React useEffect hook

React useEffect hook

1
Comments
4 min read
How to useEffect hook in your React components

How to useEffect hook in your React components

3
Comments 1
5 min read
useContext() usage in React

useContext() usage in React

4
Comments 3
4 min read
React Hook Mistakes Beginners Make

React Hook Mistakes Beginners Make

2
Comments
5 min read
React class to functional: states

React class to functional: states

1
Comments
1 min read
When I Actually Needed useLayoutEffect() in React

When I Actually Needed useLayoutEffect() in React

Comments
5 min read
Understanding the useRef hook in react

Understanding the useRef hook in react

3
Comments 1
2 min read
React custom hook

React custom hook

2
Comments
2 min read
useTheme Custom Hook: Maintain Standard Theme throughout the app

useTheme Custom Hook: Maintain Standard Theme throughout the app

4
Comments
3 min read
Custom Hook to Manage Api Request

Custom Hook to Manage Api Request

5
Comments
2 min read
Manage your state with the useState hook in React

Manage your state with the useState hook in React

6
Comments 2
2 min read
React hooks: useMemo

React hooks: useMemo

4
Comments
3 min read
React: сфокусировать поле ввода по чекбоксу

React: сфокусировать поле ввода по чекбоксу

7
Comments
1 min read
Random Number generator ReactJs

Random Number generator ReactJs

5
Comments
2 min read
Hook useCallback - Entenda quando utiliza-lo?

Hook useCallback - Entenda quando utiliza-lo?

7
Comments 1
6 min read
Return Type That Is Dependent On Argument's Type

Return Type That Is Dependent On Argument's Type

2
Comments
3 min read
React - useEffect vs useLayoutEffect

React - useEffect vs useLayoutEffect

1
Comments
3 min read
I used useLayoutEffect

I used useLayoutEffect

2
Comments
2 min read
React Hooks vs Class Components

React Hooks vs Class Components

3
Comments 2
3 min read
Forms with React Hooks

Forms with React Hooks

3
Comments
9 min read
Lazy Initialization and Storing functions with React useState hook

Lazy Initialization and Storing functions with React useState hook

2
Comments
4 min read
Why useState hook returns array and not object? Let's create a custom hook to see

Why useState hook returns array and not object? Let's create a custom hook to see

7
Comments
3 min read
TypeScript: Typing React useRef hook

TypeScript: Typing React useRef hook

4
Comments
4 min read
useMemo hook React.js

useMemo hook React.js

10
Comments
3 min read
When to use React.useCallback Hook

When to use React.useCallback Hook

9
Comments 1
3 min read
Simple Route Transitions in Next.js

Simple Route Transitions in Next.js

1
Comments
2 min read
Build a Custom React Hook: Stopwatch

Build a Custom React Hook: Stopwatch

4
Comments
9 min read
El estado de flow, en las reglas de hooks, React Js

El estado de flow, en las reglas de hooks, React Js

3
Comments
2 min read
Understanding useEffect() lifeCycle hook in React with Examples

Understanding useEffect() lifeCycle hook in React with Examples

4
Comments 2
1 min read
Calling your APIs with hooks in react 🧑🏽‍💻

Calling your APIs with hooks in react 🧑🏽‍💻

24
Comments 2
4 min read
Building future facing frontend architectures

Building future facing frontend architectures

7
Comments
22 min read
loading...