Skip to content

Instantly share code, notes, and snippets.

@Elergy
Last active January 14, 2020 18:16
Show Gist options
  • Save Elergy/af6194e9dfe8416af5d52728fd02cd6f to your computer and use it in GitHub Desktop.
Save Elergy/af6194e9dfe8416af5d52728fd02cd6f to your computer and use it in GitHub Desktop.
const state = {
projects: [
{ id: 1, title: 'Work' },
{ id: 2, title: 'Personal' },
],
todos: [
{ id: 1, title: 'First task', projectId: 1 },
{ id: 2, title: 'Second task', projectId: 2 },
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment