-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data Fetching Server Components #37
Comments
Thank you for submitting this issue! We, the Members of Meteor Community Packages take every issue seriously. However, we contribute to these packages mostly in our free time. If you think this issue is trivial to solve, don't hesitate to submit Please also consider sponsoring the maintainers of the package. |
I tried this:
So with the above code, it works to query the db and renders the
Then I would also like to know how in the server component am I supposed to reach the query params? I would expect with the Thanks ahead for the help. And much gratitude to those who made this package; feels like a blessing from clutter of SSR. Thanks! |
OK, I'm progressing! I figure out this package probably only works for Meteor subscriptions. At least this worked for me:
But how can I access the |
I was wrong, one can use |
Is your feature request related to a problem? Please describe.
I would like to know how to utilize server components in the scope of Meteor+Mongo.
Describe the solution you'd like
I'd like a sample component that with an async function, it can directly call the db and get the data I need to send to the client. It also needs to be able to read the params.
Describe alternatives you've considered
Alternative, I don't know...
Additional context
I would also like to help with documentation. It's kinda missing.
The text was updated successfully, but these errors were encountered: