Replies: 1 comment
-
This tripped me up as well - you need to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to stream data with suspense and according to docs, I should simply return promise.
So I am using drizzle in my
loader
and I simply return the promise (supposedly) like this:const coursesPromise = db.query.events.findMany({ ...
(instead of awaiting it like this
const coursesPromise = await db.query.events.findMany({ ...
)In my component I use it like this:
I was just wondering if its a bug or how to do it properly ? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions