I am aware what literal mean by void(0) || void 0
but i couldn't understand this snippet, i may not understanding void properly in context to strict mode
here is code in JSX
<button onClick={() => this.setState({ liked: true })}>
    Like
</button>
here is compiled code from babel which is equivalent to previous JSX snippet
"use strict";
var _this = void 0;
React.createElement("button", {
  onClick: function onClick() {
    return _this.setState({
      liked: true
    });
  }
}, "Like");
I feel like it is first set _this to undefined later at time of evaluation react-dom or reactjs does some kind of magic to convert it into this context.
 
    