You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./src/hooks/useAssignedLevel.js
35:5 Warning: React Hook useEffect has a missing dependency: 'checkAssignedLevel'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
Missing dependencies in effect hooks lead to subtle bugs that can be hard to track down eg. the recent problems with the AnimatedNumber component were caused by a useEffect hook that didn't run when a dependency changed.
Package
Choose from the list:
Describe the bug
Missing dependencies in effect hooks lead to subtle bugs that can be hard to track down eg. the recent problems with the
AnimatedNumber
component were caused by auseEffect
hook that didn't run when a dependency changed.To Reproduce
Run
yarn build
for the project app.Expected behavior
useEffect
hooks must declare all reactive dependencies in their dependency array, or redefine dependencies so that they aren't reactive values.The text was updated successfully, but these errors were encountered: