Skip to content

a way to detect if any nav guards are active? #33

@osdiab

Description

@osdiab

We use nav guards in combination with nprogress to show a loading UI when navigating between pages; if a nav guard is active I don't want to show that progress indicator. Would be great if there were some way to know if any nav guards were active across the app in a central place. I think it is possible as of now by wrapping the useNavigationGuard hook manually, but would be great if there was a utility to make this simpler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions