This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import Party from './Party.jsx'; | |
exports default class App extends Component { | |
getParties() { | |
// get a list of the parties currently. | |
return []; | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import Party from './Party.jsx'; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
parties: [] | |
}; |