P E N C I L
Login
CheatSheet: React basics

React basics

  1. class A extends React.Component {
       constructor(props) { super(props);  this.onClick = this.onClick.bind(this);   }
    }

  2. const LoanPage = ({api, ...props}: Props) => {