You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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