Skip to content

Home page makes unnecessery fetch requests #545

@mradenovic

Description

@mradenovic

For a single page app, there are too many fetch requests, e.g., ``home page will trigger getUserQueues almost every time it is rendered. Some of these issues are addressed in #544. I also identified a - couple of more places/events that trigger it:

  • On login - the app goes away and back to initiating page, causing a re-render. A possible solution is loginWithPopup.
  • On logout - app reloads origin page, causing another render. A possible solution is using different logout options.
  • Clicking Home in navigation. Currently, the home button is just an HTML anchor. A possible solution is using router history.
  • Clicking logo in the navbar, when current page is not home page. A possible solution TBD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions