Hi. I’m fairly new to React and Redux.
Extract Local State into Redux
I’m getting held up on the last two completion requirements. It appears to be some fundamental flaw in my syntax, possibly? I’ve not had a ton of problems up until this point, so I’m not sure why I’m really stuck on this, lol.
submitMessage() {
const curMsg = this.state.input;
this.setState ( { input: ‘’ });
this.props = {
// messages: this.state.messages.concat(this.state.input)
messages: // not sure how to make this work
};
}