DEV Community

# hooks

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Apollo hooks: Why and how to use

Apollo hooks: Why and how to use

22
Comments
5 min read
`useBackButton` hook to handle back button behavior in React Native

`useBackButton` hook to handle back button behavior in React Native

10
Comments
3 min read
Tired of redux? Try Reto!

Tired of redux? Try Reto!

6
Comments
1 min read
How to write 90% cleaner code with Hooks 🎣

How to write 90% cleaner code with Hooks 🎣

327
Comments 14
7 min read
Jumping into React or Hooks

Jumping into React or Hooks

39
Comments 4
5 min read
How I dropped Redux for the Context API

How I dropped Redux for the Context API

7
Comments
4 min read
Effects are not lifecycles

Effects are not lifecycles

19
Comments 4
5 min read
React hooks vs Meteor reactive var

React hooks vs Meteor reactive var

6
Comments
2 min read
Testing of a Custom React Hook for Fetching Data with Axios

Testing of a Custom React Hook for Fetching Data with Axios

102
Comments 4
6 min read
Painless global state management for React using Hooks and Context API

Painless global state management for React using Hooks and Context API

7
Comments
1 min read
Practical React Hooks: How to refactor your app to use Hooks

Practical React Hooks: How to refactor your app to use Hooks

11
Comments
18 min read
Learn React Hooks and Context API by building a Recipe Search App (2)

Learn React Hooks and Context API by building a Recipe Search App (2)

58
Comments 9
15 min read
Why Effects shouldn't lie about their dependencies

Why Effects shouldn't lie about their dependencies

29
Comments 4
9 min read
How do you prepare your commits?

How do you prepare your commits?

16
Comments 7
5 min read
Composable Context API with Hooks

Composable Context API with Hooks

11
Comments
5 min read
Custom React Hooks: Creating a useClock Hook

Custom React Hooks: Creating a useClock Hook

10
Comments 1
2 min read
Let's learn React Hooks and Context API by building a Recipe Search App

Let's learn React Hooks and Context API by building a Recipe Search App

213
Comments 4
10 min read
Built my first chat-app with React Hooks exclusively. It was great.

Built my first chat-app with React Hooks exclusively. It was great.

61
Comments 4
2 min read
React Hooks: Initial State of Object Pitfall

React Hooks: Initial State of Object Pitfall

4
Comments
1 min read
Fetching API Data with React Hooks, HOC or Render Prop

Fetching API Data with React Hooks, HOC or Render Prop

11
Comments
6 min read
Higher Order Reducers with React Hooks

Higher Order Reducers with React Hooks

14
Comments 2
4 min read
The same useRef, but it will callback 🤙

The same useRef, but it will callback 🤙

36
Comments 1
3 min read
Working with Forms in React without libraries

Working with Forms in React without libraries

75
Comments
5 min read
ReactHooks: useState

ReactHooks: useState

10
Comments
2 min read
React Hooks and State Management

React Hooks and State Management

50
Comments
2 min read
React: useCallback hooks simple explanation

React: useCallback hooks simple explanation

31
Comments 10
2 min read
MobX and React hooks. Getting started.

MobX and React hooks. Getting started.

10
Comments
3 min read
Chicago Hooks

Chicago Hooks

8
Comments
3 min read
Introduction to React with the State & Effects hooks

Introduction to React with the State & Effects hooks

45
Comments
8 min read
React Hooks for Vue developers

React Hooks for Vue developers

59
Comments 1
8 min read
A Brief Guide to Test React Components with Hooks

A Brief Guide to Test React Components with Hooks

51
Comments 2
5 min read
Learn Redux or Not?

Learn Redux or Not?

10
Comments
2 min read
⛓ Uncontrolled form validation with React

⛓ Uncontrolled form validation with React

15
Comments 2
3 min read
Incrementing State In Functional Components

Incrementing State In Functional Components

11
Comments 1
2 min read
Managing React application state - without using Redux!

Managing React application state - without using Redux!

11
Comments
6 min read
Handling Authentication in React with Context and Hooks

Handling Authentication in React with Context and Hooks

18
Comments 1
1 min read
Toggle theme using React Hooks

Toggle theme using React Hooks

14
Comments
4 min read
Gently introduction to React Hooks. Part 2

Gently introduction to React Hooks. Part 2

19
Comments
5 min read
Why I Love useReducer

Why I Love useReducer

10
Comments 1
3 min read
Publishing a React Hooks Library using Typescript and TSDX

Publishing a React Hooks Library using Typescript and TSDX

37
Comments 6
3 min read
I created react hooks for reducing re-rendering caused of statement change.

I created react hooks for reducing re-rendering caused of statement change.

5
Comments 1
1 min read
What I learned at React Finland Workshop with Nik Graf

What I learned at React Finland Workshop with Nik Graf

5
Comments
6 min read
Learning React Hooks

Learning React Hooks

27
Comments
3 min read
Revisiting Redux with Context and Hooks

Revisiting Redux with Context and Hooks

19
Comments 14
6 min read
React form validation with Hook in 5kB

React form validation with Hook in 5kB

20
Comments 3
3 min read
ReasonReact: use DOM API and hooks to detect click outside

ReasonReact: use DOM API and hooks to detect click outside

21
Comments
5 min read
Testing React Hook State Changes

Testing React Hook State Changes

89
Comments 23
2 min read
Redirect with React Router and Hooks

Redirect with React Router and Hooks

28
Comments 12
2 min read
Using React Hooks to simplify Apollo Client

Using React Hooks to simplify Apollo Client

14
Comments 1
2 min read
Manage Browser Cookies with React Hooks

Manage Browser Cookies with React Hooks

9
Comments 1
1 min read
Seriously - do React hooks replace state containers?

Seriously - do React hooks replace state containers?

30
Comments 9
6 min read
IntersectionObserver API with React Hooks

IntersectionObserver API with React Hooks

19
Comments
4 min read
Controlling component visibility with React Hooks

Controlling component visibility with React Hooks

6
Comments
4 min read
React's bogus setState anti-pattern

React's bogus setState anti-pattern

13
Comments 5
3 min read
Greensock Animations using React Hooks

Greensock Animations using React Hooks

29
Comments 3
2 min read
React Hooks cheat sheet: Unlock solutions to common problems

React Hooks cheat sheet: Unlock solutions to common problems

50
Comments
14 min read
Let's make a reusable React hook!

Let's make a reusable React hook!

21
Comments 1
4 min read
Writing a custom react hook that persists to local storage

Writing a custom react hook that persists to local storage

20
Comments 2
3 min read
Using Firebase with React Hooks

Using Firebase with React Hooks

130
Comments 17
3 min read
Three Ways to use Hooks to Build Better React Components

Three Ways to use Hooks to Build Better React Components

12
Comments
5 min read
loading...