Loading....
save

Understanding React's useEffect dependency array

clock icon

asked 2 months ago

message icon

1

eye icon

113

When should I add functions or objects to the dependency array? I keep getting infinite loops.

1 Answer

1

Please log in to answer this question

Top Questions