This is a common practice with React yes.
What is happening is the React Component is an ES6 class. In the constructor you get access to the
this scope of the class. We are then able to bind the function
handlePressIn to the current
This will only bind the
handlePressIn on this particular instance. So if you rendered more components they'd all have their own
React will automatically handle binding
this for all of it's lifecycle methods, as well as the
render method. Which is why in the
render method you can access
this.state and `this.props.
Mostly what this allows us to do is get access to
this.props inside of
handlePressIn of that React component and other functions of React like
setState to trigger a re-render.