Marcos Portillo
1 min readJun 19, 2020

--

Nice article, I've been facing the incomplete dependencies warning because I'm using a component's state variable inside the hook, that state can change inside the hook so adding to the dependency array is not an option, any suggestions?

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Marcos Portillo
Marcos Portillo

Written by Marcos Portillo

Software developer at Kelsus inc.

Responses (1)

Write a response