StackOverflow Questions for Tag: react-hooks

ariel guzman
ariel guzman

Reputation: 680

Redux RTK not auto-generating react hooks

Score: 10

Views: 6097

Answers: 4

Read More
Gabriel Izoton
Gabriel Izoton

Reputation: 43

How to stop Next.js from running client side code twice or hanging indefinitely when using the 'use client' directive?

Score: 4

Views: 8054

Answers: 1

Read More
Jonathan Lauwers
Jonathan Lauwers

Reputation: 285

React scroll component horizontally on button click

Score: 18

Views: 56433

Answers: 1

Read More
eaglehuntt
eaglehuntt

Reputation: 59

Why isn't my React Native state updating?

Score: -2

Views: 62

Answers: 0

Read More
user3146945
user3146945

Reputation: 253

Inconsistent behavior from useEffect

Score: 1

Views: 47

Answers: 1

Read More
Aghas Ghazryan
Aghas Ghazryan

Reputation: 34

React strict mode creates artificial bug?

Score: -1

Views: 20

Answers: 0

Read More
2tuzi
2tuzi

Reputation: 66

How does React's useCallback read the variable in closures

Score: 1

Views: 74

Answers: 2

Read More
Nyi Nyi Hmue Aung
Nyi Nyi Hmue Aung

Reputation: 736

Component loses state on re-render

Score: 2

Views: 2180

Answers: 2

Read More
jaypee
jaypee

Reputation: 2147

How to mock socket.io-client using jest/react-testing-library

Score: 5

Views: 11715

Answers: 5

Read More
LeonN
LeonN

Reputation: 67

Select tag not keeping default value with useActionState

Score: 3

Views: 148

Answers: 3

Read More
J.Ko
J.Ko

Reputation: 8791

React Hooks: useEffect() is called twice even if an empty array is used as an argument

Score: 781

Views: 559054

Answers: 25

Read More
Magnus
Magnus

Reputation: 7829

React with Hooks: When do re-renders happen?

Score: 17

Views: 6746

Answers: 2

Read More
Drex
Drex

Reputation: 3851

React hook useSelector value not changed inside async function

Score: 0

Views: 8934

Answers: 1

Read More

In useReducer, is it better to dispatch multiple actions separately for each state field or use a single action to update multiple fields at once?

Score: -1

Views: 51

Answers: 1

Read More

Invalid hook call on my own component library using Emotion

Score: -1

Views: 29

Answers: 1

Read More
user16159725
user16159725

Reputation:

Input field in react bootstrap modal re-renders modal on every key stroke

Score: 0

Views: 1665

Answers: 1

Read More
Giorgi Moniava
Giorgi Moniava

Reputation: 28684

State is not updated in StrictMode

Score: 8

Views: 1070

Answers: 2

Read More
Big Loot
Big Loot

Reputation: 49

How to change nested object values based on checkboxes?

Score: 1

Views: 378

Answers: 1

Read More
elodie rin
elodie rin

Reputation: 1

Reactjs Quiz App with API : cannot display the questions

Score: -1

Views: 160

Answers: 1

Read More
metrallador10
metrallador10

Reputation: 39

UseEffect being run twice when value changes from context in React Native

Score: -1

Views: 51

Answers: 1

Read More
PreviousPage 2Next