nuxt-multi-cache icon indicating copy to clipboard operation
nuxt-multi-cache copied to clipboard

Use `useEvent` for server composables

Open dulnan opened this issue 1 year ago • 0 comments

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.).

dulnan avatar Jul 06 '24 08:07 dulnan