re: Understanding states in ReactJS VIEW POST

FULL DISCUSSION
 

Thanks for the post Alan, it was easy to digest 🙂

For code snippets, you can wrap'em using triple backticks around the code for syntax highlighting.

demo

Code 👆 will show code like 👇

componentWillReceiveProps(NewProps) {
  var MyBool = NewProps.ManipulativeBool;
  this.setState({ Manipulated: MyBool });
}
 

Thank you so much - Really loving this community. It's awesome.

Ah that makes life a lot easier haha. I'll edit my post to reflect this now as well and remember for the future 😄

 

You're welcome & thank you for updating the post~

And.. 👋 Welcome to dev.to, Alan 🙂

code of conduct - report abuse