ideaInvalid number of arguments, expected 2

When I learned to react as an example, I came across this problem So I've been wondering why my setState would have had this mistake.

1 comment

Works fine for me

Do you have React typings installed? Please try Ctrl+clicking on setState() - what definition are you taken to?


Please sign in to leave a comment.