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
I'm trying to query a collection from the server-side createApp function, but it's returning undefined. I investigated it a bit and it looks like it's coming from being wrapped in SsrContext. I'm not understanding what feature this context is trying to provide, is there an issue querying a collection directly here? I had the code running fine in onPageLoad directly, but was trying to move it to createApp for consistency. Not seeing anything about this in the readme, any tips?
The text was updated successfully, but these errors were encountered:
I'm trying to query a collection from the server-side
createApp
function, but it's returning undefined. I investigated it a bit and it looks like it's coming from being wrapped inSsrContext
. I'm not understanding what feature this context is trying to provide, is there an issue querying a collection directly here? I had the code running fine inonPageLoad
directly, but was trying to move it tocreateApp
for consistency. Not seeing anything about this in the readme, any tips?The text was updated successfully, but these errors were encountered: