Skip to content

Instantly share code, notes, and snippets.

@butackle
Created March 12, 2017 06:58
Show Gist options
  • Save butackle/10ca71b1553f7f3012af3c8639292b90 to your computer and use it in GitHub Desktop.
Save butackle/10ca71b1553f7f3012af3c8639292b90 to your computer and use it in GitHub Desktop.
database.ref('list').once('value').then((snapshot) => {
const list = getList(snapshot);
riot.mount('List', { list });
riot.mount('Add');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment