Why does routeData() return undefined?
I am fetching data from my Directus backend in
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!0 Replies