-
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
-
-
NavBar
- Components:
-
SessionButtonsContainer
+SessionButtons
- State:
session
- State:
-
- Components:
Note: All other components are rendered inside of MainPage
-
ChirpIndexContainer
+ChirpIndex
- Route:
/#/dashboard
- State:
chirps
,users
- Components:
-
ChirpIndexItem
- State:
chirps[:id]
,users[:id]
,ui
- State:
-
- Route:
-
ProfileIndexContainer
+ChirpIndex
- Route:
/#/users/:userId
- State:
chirps
,users
- Components:
-
ChirpIndexItem
- State:
chirps[:id]
,users[:id]
,ui
- State:
-
- Route:
-
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: