@micro-router
    Preparing search index...

    Type Alias RouterOpts

    type RouterOpts = {
        comparator?: MatchComparator;
        partialMatch?: boolean;
    }
    Index

    Properties

    comparator?: MatchComparator

    When multiple paths match a dispatched input, the comparator is used to determine which match should be considered the "best" match.

    bestMatchComparator

    partialMatch?: boolean

    Whether to allow partial matches (where the path doesn't consume the entire input string).

    When false, only paths that fully consume the input will be considered. When true, paths that leave remaining characters can still match.

    false