cherrymarker

Results 4 comments of cherrymarker

On further inspection this fix is a bit wonky, bear with

While this fix "sort of" works, I have realised due to this line there may be problems https://github.com/nuxt/framework/blob/d9b6c8a59bd4f1f1f6280e1d55d10ddd477d2eea/packages/nuxt/src/app/composables/asyncData.ts#L170 The original asyncdata is still passed along. A better solution would be...

Updated to a better solution that works both client and server side. Wasn't sure about the type definition in `nuxt.ts` but gave it a go.

I think that the design of useAsyncData is a bit messy and could be simplified by just using async methods. Instead of `data` and `error` being stored on `nuxt.payload` it...