I am fairly new to using React and I am doing a project to learn.
I\'m trying to update a value when I receive a message in mqtt with this.setState, but it throws an erro