StackOverflow Questions for Tag: eslint-plugin-react-hooks

Matt Huggins
Matt Huggins

Reputation: 83279

Why does `react-hooks/exhaustive-deps` lint rule trigger on nested object properties?

Score: 10

Views: 1743

Answers: 1

Read More
Joseph
Joseph

Reputation: 11

When a React hook depends on a function that comes itself from a hook, should I memoize it first?

Score: 1

Views: 63

Answers: 1

Read More
Deykun
Deykun

Reputation: 1271

Can I utilize eslint-disable-line to disable react-hooks/exhaustive-deps, but exempt particular props from being disabled not all of them?

Score: 4

Views: 1709

Answers: 3

Read More
rit
rit

Reputation: 21

'react-hooks/rules-of-hooks' and 'react-hooks/exhaustive-deps' not working

Score: 1

Views: 663

Answers: 0

Read More
Thorvarium
Thorvarium

Reputation: 118

Does eslint-plugin-react-hooks displays the errors on the code itself or just the terminal when starting?

Score: 0

Views: 327

Answers: 2

Read More
Naman Verma
Naman Verma

Reputation: 64

I am not able to delete items in my todo list made with react, please help me with error in my code

Score: 0

Views: 1387

Answers: 3

Read More
Eitan
Eitan

Reputation: 1494

Is React's useEffect dependency array an anti pattern

Score: -1

Views: 595

Answers: 1

Read More
binkpitch
binkpitch

Reputation: 717

How to prevent useCallback from triggering when using with useEffect (and comply with eslint-plugin-react-hooks)?

Score: 9

Views: 4399

Answers: 3

Read More
customcommander
customcommander

Reputation: 18901

Inconsistent linter warnings with useCallback

Score: 3

Views: 256

Answers: 0

Read More
ParkourGrip
ParkourGrip

Reputation: 373

Custom hooks with dependency lists and eslint-plugin-react-hooks

Score: 11

Views: 4538

Answers: 2

Read More
Brandon
Brandon

Reputation: 1855

Can I have react-hooks/exhaustive-deps for a custom hook?

Score: 16

Views: 4953

Answers: 1

Read More
Aw KingOftheworld
Aw KingOftheworld

Reputation: 151

React async and hooks

Score: 1

Views: 86

Answers: 1

Read More
Gagan
Gagan

Reputation: 5656

React useEffect is complaining about missing dependency even after destructuring

Score: 2

Views: 576

Answers: 2

Read More
KFunk
KFunk

Reputation: 3152

react-hooks/exhaustive-deps following rule causes bug. Not all dependencies should be watched?

Score: 0

Views: 261

Answers: 0

Read More
Ukonn Ra
Ukonn Ra

Reputation: 754

When using React Hooks, how can I handle the function parameter from parent component?

Score: 0

Views: 121

Answers: 0

Read More
robinvrd
robinvrd

Reputation: 1848

useEffect and ESlint exhaustive-deps rule

Score: 0

Views: 671

Answers: 1

Read More
hedgecox
hedgecox

Reputation: 83

React Hooks Exhaustive-deps async infinite Loop

Score: 8

Views: 3248

Answers: 1

Read More
user3450929
user3450929

Reputation: 327

React, ESLint: eslint-plugin-react-hooks dependency on a function in an object

Score: 1

Views: 65

Answers: 1

Read More
sarfata
sarfata

Reputation: 4675

How to let eslint react-hooks/exhaustive-deps rule know that the return value of a custom hook is invariant?

Score: 6

Views: 673

Answers: 0

Read More
Selino
Selino

Reputation: 111

How to install an NPM plugin using react-scripts

Score: 3

Views: 551

Answers: 0

Read More
PreviousPage 1Next