I keep seeing answers that say to use => or .bind(this) but neither of those solutions worked.
import React, { Component } from \'react\'; import { View, Tex
also you can bind this in constructor like this
constructor
class MyClass extends React.Component { constructor(props){ super(props); this.handleButtonClick = this.handleButtonClick.bind(this); } handleButtonClick(){ console.log("Hello from here"); } render() { return ( Click me ); } }