Sebastian
Sebastian
NNuxt
Created by Sebastian on 11/15/2024 in #❓・help
How do i prevent useCookie from doing stuff on SSR?
@kapa.ai there are no options for the composable without having to make that suggested change then?
8 replies
NNuxt
Created by otr on 6/27/2024 in #❓・help
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
transform seems to atleast silence the warning. I assume that means its fine.
14 replies
NNuxt
Created by otr on 6/27/2024 in #❓・help
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
This means that a typed return would be broken in the case where i want to return a falsey value
14 replies
NNuxt
Created by otr on 6/27/2024 in #❓・help
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
In my head this still seems pretty backwards.
14 replies
NNuxt
Created by otr on 6/27/2024 in #❓・help
WARN [nuxt] useAsyncData should return a value that is not null or undefined or the request may be
What happens if a useAsyncData doesnt return anythign at all? Does that count towards the warning?
14 replies
NNuxt
Created by otr on 6/27/2024 in #❓・help
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
NNuxt
Created by otr on 6/27/2024 in #❓・help
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
NNuxt
Created by FabiansGeikinsSpeckle on 11/23/2022 in #❓・help
How to upgrade from RC to stable using `nuxi`?
I havent been able to use the nuxi latest. it doesnt go to the latest rc so i am assuming that it isnt working corretly.
8 replies