-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
Sam O'Donnell edited this page Feb 26, 2019
·
2 revisions
{
entities: {
users: {
4: {
id: 4,
name: "Michel de Montaigne",
}
},
stories: {
10: {
id: 10,
title: "Of Cannibals",
body: "When King Pyrrhus invaded Italy..."
authorId: 4,
}
},
bookmarks: {
15: {
id: 15,
userId: 8,
storyId: 10
}
},
likes: {
1: {
id: 1,
userId: 4,
storyId: 10
}
},
comments: {
1: {
id: 1,
body: "This essay reminds me of..."
userId: 5,
storyId: 10
}
},
userFollows: {
1: {
id: 1,
followerId: 20,
followedId: 4
}
},
ui: {
loading: true/false,
modal: ---,
},
errors: {
userErrors: [---],
storyErrors: [---],
},
session: {
currentUserId: 4
}
}