Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 11, 2020 18:51
Embed
What would you like to do?
async getGames() {
const url = SERVER_URL + "/games";
const r = await fetch(url);
const games = await r.json();
this.games = games;
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment