useEffectEvent
Unanswered
Affenpinscher posted this in #help-forum
AffenpinscherOP
Even though I am using this Hook correctly, I am still getting the error like "React Hook useEffect has a missing dependency: 'setLoading'. Either include it or remove the dependency array. If 'setLoading' changes too often, find the parent component that defines it and wrap that definition in useCallback".
1 Reply
@Affenpinscher Even though I am using this Hook correctly, I am still getting the error like "React Hook useEffect has a missing dependency: 'setLoading'. Either include it or remove the dependency array. If 'setLoading' changes too often, find the parent component that defines it and wrap that definition in useCallback".
Nile Crocodile
Pc or mobile? @Affenpinscher