Skip to content

Instantly share code, notes, and snippets.

@Akryum
Last active Nov 1, 2016
Embed
What would you like to do?
Initialize data
// Local state
data: () => ({
// You can initialize the 'posts' data here
posts: [],
loading: 0,
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment