Skip to content

Defer score calculation to after page load #5

Description

@blankey1337

Currently, scores are calculated on page load inside of a server-side function. We should defer the calling of this function (basically just call the API instead), until after page load, asynchronously. This will allow us to show a loading spinner to the user, which will increase the expectation and feedback loop that something is happening. This will dramatically improve the user's perceived performance of the app, and result in less duplicate entries in the database (which is caused by users refreshing the page whilst the score is still being calculated).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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