re: Understanding states in ReactJS VIEW POST


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.


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, Alan πŸ™‚

code of conduct - report abuse