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

[Docs]: Missing for SSR without a data router but with <StaticRouterProvider> #11261

Closed
depoulo opened this issue Feb 7, 2024 · 2 comments
Closed
Labels

Comments

@depoulo
Copy link

depoulo commented Feb 7, 2024

Describe what's incorrect/missing in the documentation

If you want to tackle it on your own, you'll need to use <StaticRouterProvider> or <StaticRouter> on the server, depending on your choice of router. If using <StaticRouter>, please jump down to the Without a Data Router section.

That's nice, but what if using <StaticRouterProvider>?

Unfortunately I cannot provide a PR because I first need to understand.

@depoulo depoulo added the docs label Feb 7, 2024
@timdorr
Copy link
Member

timdorr commented Feb 7, 2024

StaticRouterProvider is for data routers, specifically the one from createStaticRouter. This is described in its documentation: https://reactrouter.com/en/main/routers/create-static-router

@timdorr timdorr closed this as completed Feb 7, 2024
@depoulo
Copy link
Author

depoulo commented Feb 8, 2024

Oh, understood, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants