Created
April 26, 2017 14:41
-
-
Save kellyrmilligan/b2ba24429c190a2959fc2c0ecb20aba3 to your computer and use it in GitHub Desktop.
This file contains 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
class Page extends Component { | |
static fetch(match, location, options) { | |
//return a promise to be resolved later, superagent as an example | |
return request('GET', '/search') | |
} | |
render() { | |
//your stuff | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment