January 2020
Intermediate to advanced
530 pages
11h 11m
English
Within the constructor, we set the app name and define the following state parameters:
We also bind the getAccountTransactions method so the child components can change the state, as shown here:
class App extends Component { constructor(){ super(); this.appName = 'Merchant Wallet'; this.getAccountTransactions = this.getAccountTransactions.bind(this); this.state = { acc: null, accounts: [], transactions: [], mnemonic: ...Read now
Unlock full access