Popii - v0.5.1
    Preparing search index...

    Type Alias ComponentRegularMiddleware<TState, TInput, TLocals>

    ComponentRegularMiddleware: (
        pop: ComponentPop<TState, TInput, TLocals>,
        next: (err?: any) => Promise<void> | void,
    ) => Promise<void> | void

    Standard component middleware — receives the component pop context and a next function.

    Type Parameters

    • TState = any
    • TInput = any
    • TLocals = PopiiLocals & Record<string, any>

    Type Declaration