Sebastian
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
what is the logic of not allowing undefined? Do you know? In my brain (at least right now) just handling something as not having returned a value is easier than checking if its an empty object 😛
14 replies
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
@manniL / TheAlexLichter Hi! Found this thread when i encountered this. So a useAsyncData should never return an undefined value if it doesnt find any content during the request? How do i handle that situation then?
14 replies