title: How different is React’s ES6 syntax when compared to ES5?
body: <p>As I have declared variables and also successfully imported the required packages.
  And then passed props, also the required function but can't able get the value in state. How should I get the value in state.
  Want a proper guide by an example.</p>