Weird linting with useReducer

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.

1

Please sign in to leave a comment.