-
Notifications
You must be signed in to change notification settings - Fork 2
component hierarchy
Oguzhan Cakmak edited this page Oct 22, 2017
·
2 revisions
-
Root
-
App
NavBar
Feed
SideBar
-
-
NavBar
- Components:
LinksContainer
SearchBarContainer
QuestionModalContainer
- Components:
Note: All other components are rendered inside of MainPage
-
QuestionIndexContainer
+QuestionIndex
- Route:
/#/questions
- State:
questions
,answers
,comments
users
- Components:
-
QuestionIndexItem
- State:
questions[:id]
,answers[:id]
,users[:id]
,comments[:id]
ui
- State:
-
- Components:
- State:
- Route:
-
QuestionShowContainer
+QuestionShow
- Route:
/#/questions/:questionId
- State:
questions[:id]
,users[:id]
,ui
- State:
- Route:
-
QuestionFormContainer
+QuestionForm
- Route:
/#/questions/new
- State:
errors.questionForm
- State:
- Route:
-
SideBarContainer
- Route:
/#/questions
- State:
questions
,answers
,comments
users
- Components:
-
QuestionIndexItem
- State:
questions[:id]
,answers[:id]
,users[:id]
,comments[:id]
ui
- State:
-
- Components:
- State:
- Route:
-
SessionFormContainer
+SessionForm
- Route:
/#/login
and/#/signup
- State:
errors.login
- State:
- Route: