Created
September 5, 2017 16:58
-
-
Save yosevu/f5c2e23c710020d78a02701d12c3f4c2 to your computer and use it in GitHub Desktop.
Nested Quote Feeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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