Weird linting with useReducer Follow
Hello, why would linter be triggered of useReducer with only 2 arguments, if the third one is actually optional? It dislikes dispatch as well...
The code was copied from React's useReducer documentation.
Please sign in to leave a comment.
the issue is tracked at https://youtrack.jetbrains.com/issue/WEB-53963/Dispatch-function-from-Reacts-useReducer-reports-wrong-argument-requirements, please follow it for updates