title: Building a multi view, multi user-type React application
body: <p>I have a problem getting my head arround how i would go about to create a multi user-type application. I'm creating a big project, I want to have a different GUI for a buyer and another completly different GUI for a seller. I want to have something like if the user is logged in and is a buyer then render ComponentA if they are a seller then render componentB. The way i think about is checking the user type in the state and then render it accordingly. is this approach optimized? Also is it actually possible?</p>
  
  <p>Should i create 2 "smart" components one for the buyer and one for the seller? I'm really confused any help would be appreciated. PS: I'm quite new to ReactJs</p>