useServerContext() returns empty object in server$() callback

how come useServerContext() returns an empty object in server$() callbacks?
4 Replies
Samual 🦢
Samual 🦢•16mo ago
useRequest() does the same
lxsmnsyc
lxsmnsyc•16mo ago
both are only accessible in components, server$ is isolated, but I would assume what you need can be accessed through the callback's second parameter
Unknown User
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
Samual 🦢
Samual 🦢•16mo ago
ty, is there a way to get responseHeaders as well?
Want results from more Discord servers?
Add your server
More Posts