Fixing React video questions came up to my mind !

* do I have to work full stack to use the benefits of async components? * Instead of Prisma any promise-based function will do the same right? * what about useQuery(). it's a hook so is it gonna work just like Theo showed us like :
const Component = async () => {
const {data} = useQuery(async function)

return <>{data}<>
}

const CompoentWrapper = () => {
return (
<Suspense fallback={...}>
<Component />
</Suspense>
)
}
const Component = async () => {
const {data} = useQuery(async function)

return <>{data}<>
}

const CompoentWrapper = () => {
return (
<Suspense fallback={...}>
<Component />
</Suspense>
)
}
1 Reply
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server