How to set initial state with using ES6 class in React?

Posted by Jessica Taylor | Updated on

Want to set initial state with using ES6 class in React? You may also want to check out this post about the difference between when to use a constructor and when to use getInitialState.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers