Skip to content

useLocale hook not returning current routes locales on first render. #102

Description

@ste-vg

Page locales appear to a asynchronous on route change. When the page loads from a full refresh everything works as expected and useLocale return results on the first render. If you navigate to a new page the useLocale hook briefly returns the last pages locales while the new ones load.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions