Skip to content

Detect initial "loading" state #374

@omichelsen

Description

@omichelsen

When users come to my website, I would like to know whether hello.js is working (auto-login), so I can show a loading spinner. Also it would help a lot on pages that require auth, to know whether hello.js is working on auth.

I know I can poke around localStorage myself to see if there is anything saved, but is there an official way - maybe a promise or special event I can listen for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions