Why does routeData() return undefined?
I am fetching data from my Directus backend in
However, the
I checked that the items are actually being fetched from Directus, and they are. And if I manually return a value from
Thanks!
createServerData$ like this:However, the
events variable is always undefined.I checked that the items are actually being fetched from Directus, and they are. And if I manually return a value from
createServerData$ I can access it from the component. So what is going wrong here?Thanks!
