Skip to content

Dont use middleware ? #44

Open
Open
@MickL

Description

@MickL

Clear and concise description of the problem

From the h3 docs:

Middleware pattern is not recommended for h3 in general. Side effects can affect global application performance and make tracing logic harder. Instead use h3 composables and object syntax hooks.

Source: https://h3.unjs.io/guide/event-handler#middleware

Suggested solution

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIncludes new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions