solid start routeData errors
reposting here cause got no help in solid server yet
5 Replies
hi, im quite new to solid and solid start so this might be a dumb question. im fetching data from my database in the routeData function using createServerData$. im not sure if i have gotten it right though because when i reload my page, it has a flash of undefined and then changes into the classic [object Object]
on logging data data fetched from prisma i can see its sometimes null and sometimes its defined https://this-vegetable.is-from.space/Alacritty-v0.10.0-portable_(1)_gQOKGTLgy0.png
what is wrong here?
bump
lol
solved