DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: How to make sure useEffect catches array changes

Collapse
stephane profile image
Stephane Rangaya Author

How would you do this?

Collapse
nicklaswinger profile image
Nicklas Pouey-Winger • Edited on

I assume by calling setLoadCount((prevState) => prevState + 1) or something like that :)

Thread Thread
iquirino profile image
Igor Quirino