This might sound familiar to you: You run your React app after you made some changes to test your new functionality and get an error message like this: “this.setState’ is not a function“. It’s probably because you forgot to bind a callback function before passing it down a prop. Today you’ll learn why you need to bind, and how to bind a callback function in React.
Bad bug reports are not only annoying because they create a lot of overhead and cost time, but they also indirectly cost money. By considering to add some more information to your next bug report you take a step into the right direction to avoid that.