Blocker: ((transition: Transition) => boolean)

Type declaration

    • (transition: Transition): boolean
    • Beta

      Function to determine if navigation should be blocked or not.

      Returns

      true if navigation should be blocked

      Parameters

      • transition: Transition

        the transition to evaluate

      Returns boolean