Skip to content

App flashes when rendering #48

@iAmWillShepherd

Description

@iAmWillShepherd

I noticed that the app is flashing when rendering on pages that check's the session and auth status before rendering the component. I thought the correct move was implementing the provider pattern (see PR #47), but that had no effect. Auth needs to be revisited, especially since some pages will need to be behind auth while others won't.

The supabaseProvider should also be responsible for routing the user to the correct place when landing on a page that requires auth while not authenticated.

App flashing 'No session' before rendering the page (I'm logged in)

2022-01-03 22 09 05

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe app doesn't work as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions