Skip to content

Use useEvent for server composables #60

@dulnan

Description

@dulnan

Once the experimental asyncContext feature from Nuxt/Nitro is available by default we can significantly improve DX by removing the need to pass the H3Event to all composables when they are called from within server code (event handlers, plugins, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions