Skip to content

Component Hierarchy

danamansana edited this page Dec 28, 2017 · 7 revisions
    Root
      App
        Main

        NavBar
          Components:
        • SessionButtons Container + Session Buttons, State: session
        • Search Bar
        • Link to Questions
        • Link to Ask Question

        Questions Components
        • Questions, State: questions, users
        • Question Item, State: question[:id], user[:id]

        Question Components
        • Body
        • Answers, State: answers, users
        • Answer Item, State: answer[:id], user[:id]
        • Comments, State: comments, users
        • Comment Item, State: comment[:id], user[:id]

        Session Components
        • SessionForm Container and SessionForm, State: errors
    Clone this wiki locally