• We are STAs
    • Daniela Caballero
    • Leilani Cabello
    • Lorena Chiles
    • Marissa Devivar
    • Luisa Matzner
    • De’sha Bass-McClellan
    • Adrian McKee
    • Thang Truong
    • Carrie Wang
  • We were STAs
  • STA Presentation
    • STA Presentation 2017
    • STA Presentation 2016
  • Testimonials
  • Resources
  • Home

STA Blog

Rendering Two Views

May 14, 2019 By Clarissa Miranda

Data fetching was not solving the performance problem, since most of the execution time was committed when rendering the timeline component, so today we choose to define two components on the same route and set those on different route views, using css the second view will be hidden until the user decide to select this one. Here is the progress:

Defining two components for the same route:

Passing the components to each of the views:

The two views active, but the first one hidden with css:

Filed Under: 2018 Fall - 2019 Spring

link to LAITS home page

Video STA Home

© 2023 Liberal Arts Instructional Technology Services | Production Credits