Replies: 2 comments 5 replies
-
since it an asynchronous callback with deno runtime you can do any async task include database query |
Beta Was this translation helpful? Give feedback.
3 replies
-
i perfer create a connection pool in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the docs: https://alephjs.org/docs/advanced-features/use-deno-hook the Aleph way to fetch data is SSR or via a Client side async call out to an API. But just reviewing the SSR examples:
vs
In the second example, even though it's async, isn't the process going to wait for the fetch from the database to return before pre-rendering and pushing the payload to the client?
Beta Was this translation helpful? Give feedback.
All reactions