Eslint rule for multiple conditional checks inside render
The following code gives me an eslint error and no matter what I try an error is given. What is wrong?
Should I Ignore “react-hooks/exhaustive-deps” in this case?
Think of the following React component:
Eslint error React Hook useEffect has a missing dependency: ‘navigate’
why I get this eslint error ?