Skip to content

Instantly share code, notes, and snippets.

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