DEV Community

# hooks

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
The 5 most important takeaways from the new React Docs, for both newbie and experienced devs

The 5 most important takeaways from the new React Docs, for both newbie and experienced devs

2
Comments 5
8 min read
useContext

useContext

Comments
5 min read
Leveraging the useId Hook in React: Simplifying Unique ID Generation

Leveraging the useId Hook in React: Simplifying Unique ID Generation

3
Comments 2
3 min read
SĂ©rie React Hooks: useCallback

SĂ©rie React Hooks: useCallback

Comments
3 min read
Alterações de páginas de forma dinâmica com o UseState

Alterações de páginas de forma dinâmica com o UseState

1
Comments
2 min read
Explorando os Hooks Adicionais do React: Exemplos e Casos de Uso

Explorando os Hooks Adicionais do React: Exemplos e Casos de Uso

5
Comments
11 min read
How to call React Query hooks conditionally!

How to call React Query hooks conditionally!

7
Comments 4
2 min read
The ultimate guide to Git Hooks

The ultimate guide to Git Hooks

2
Comments
5 min read
Bridge Between Lifecycle Methods & Hooks

Bridge Between Lifecycle Methods & Hooks

1
Comments
8 min read
React Render Lifecycle and useEffect Hook

React Render Lifecycle and useEffect Hook

12
Comments
2 min read
Nodejs Async Hooks 101

Nodejs Async Hooks 101

2
Comments
3 min read
New Feature: React introduces its new experimental hook — useOptimisitcState()

New Feature: React introduces its new experimental hook — useOptimisitcState()

Comments
3 min read
Managing array state in React with custom hooks

Managing array state in React with custom hooks

1
Comments
3 min read
Using hooks in React JS and Next JS.

Using hooks in React JS and Next JS.

1
Comments 1
2 min read
React: isMounted tricks are code-smell

React: isMounted tricks are code-smell

Comments
3 min read
Using UseEffect Hook: Avoiding Excessive Re-rendering

Using UseEffect Hook: Avoiding Excessive Re-rendering

3
Comments
4 min read
Trouble accessing context values with useContext in child component

Trouble accessing context values with useContext in child component

Comments
3 min read
React useState and useEffect hooks explained in simple term with example

React useState and useEffect hooks explained in simple term with example

2
Comments
2 min read
useContext + useReducer = powerful and flexible way to manage global state!

useContext + useReducer = powerful and flexible way to manage global state!

5
Comments 2
4 min read
What is memoization in React

What is memoization in React

Comments
5 min read
Detaylı React Hooks Kullanımı: useState

Detaylı React Hooks Kullanımı: useState

Comments
6 min read
React’e Giriş: Components, Props, Hooks, Map, React Router DOM, Redux

React’e Giriş: Components, Props, Hooks, Map, React Router DOM, Redux

3
Comments
25 min read
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

9
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

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

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

1
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

23
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

5
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
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 unnecessarily

Don't use useEffect unnecessarily

39
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

5
Comments
3 min read
Custom Hook to Manage Api Request

Custom Hook to Manage Api Request

5
Comments
2 min read
loading...