Open
Description
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
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.