Skip to content

Pre-render device auth and/or login pages #2755

@david-crespo

Description

@david-crespo

https://reactrouter.com/how-to/pre-rendering

This is for after we convert to RR framework mode is is definitely a nice-to-have at best. I just want to write down the possibility while I'm in the RR zone after #2754. Pre-rendering these pages would eliminate the blank black screen that flashes very briefly when these pages first load.

That said, on colo the flash is so fast it's barely noticeable, so this is probably not worth the effort unless it turns out to be almost trivial (it could). Pre-rendering these pages would mean they get their own HTML files in the built output, and Omicron would have to know to serve those instead of the main index.html.

It might only really help for /device/verify since you get linked to that directly by the CLI, but it's entire possible people are bookmarking the login page.

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