Skip to content
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

Add context docs for nextjs #1047

Closed

Conversation

paul-sachs
Copy link
Contributor

@paul-sachs paul-sachs commented Mar 26, 2024

Adds documentations about how to use contextValues with nextjs.

Context can be a little tricky so adding some additional docs to provide some direction.

@timostamm
Copy link
Member

Thanks for the PR!

The goal for the package README files is to provide a concise minimum of information necessary to get started, and to link to the documentation and examples for details.

This isn't set in stone, and if there is a better approach, we can investigate it and make a consistent change.

However, until we do, the place to add this information would be https://connectrpc.com/docs/node/server-plugins#nextjs (where the contextValues callback is already documented, albeit not with a complete example), or to add an example to the examples-es repository.

@timostamm timostamm closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants