Skip to content

Instantly share code, notes, and snippets.

@yosevu
Created September 5, 2017 16:58
Show Gist options
  • Save yosevu/f5c2e23c710020d78a02701d12c3f4c2 to your computer and use it in GitHub Desktop.
Save yosevu/f5c2e23c710020d78a02701d12c3f4c2 to your computer and use it in GitHub Desktop.
Nested Quote Feeds
const quoteFeeds = [
{
id: 'feed1',
name: 'Programming',
quotes: [
{
id: 'quote1',
text:'Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.',
source: 'Patrick McKenzie',
liked: false
},
{
id: 'quote2',
text: 'Hofstadter\'s Law: It always takes longer than you expect, even when you take into account Hofstadter\'s Law.',
source: 'Douglas Hofstadter',
liked: false
}
]
},
{
id: 'feed2',
name: 'Stoic',
quotes: [
{
id: 'quote1',
text: 'The obstacle on the path becomes the way.',
source: 'Marcus Aurelius',
liked: false
},
{
id: 'quote2',
text: 'It is impossible for a man to learn what he thinks he already knows.',
source: 'Epictetus',
liked: false
}
]
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment