May want to structure everything more as a function vs a component for the react-like content...think redux or diode (scalajs).