-
Notifications
You must be signed in to change notification settings - Fork 7
Component Hierarchy
CelesteComet edited this page Jan 29, 2018
·
4 revisions
-
Root
-
App
Aside
Header
Main
Footer
-
-
Aside
- Components:
-
Search Input
- State:
local
- State:
AsideButtons
-
FriendsList
FriendsListItem
-
- Components:
-
Header
- Components:
HeaderButtons
-
Receiver
- props:
users[:username]
,users[:status]
- props:
- Components:
-
MessagesIndexContainer
+MessagesIndex
- State:
messages
,users
- Components:
-
MessageIndexItem
- State:
messages[:id]
,ui
- State:
-
- State:
-
ChirpShowContainer
+ChirpShow
- Route:
/#/chirps/:chirpId
- State:
chirps[:id]
,users[:id]
,ui
- Route:
-
ChirpFormContainer
+ChirpForm
- Route:
/#/chirps/new
- State:
errors.chirpForm
- Route:
-
SessionFormContainer
+SessionForm
- Route:
/#/login
and/#/signup
- State:
errors.login
- Route:
-
UserSearchIndexContainer
+UserSearchIndex
- Route:
/#/
- State:
ui
- Components:
UserSearchIndexItem
- State: none (will be made with separate ajax)
- Route: