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

Server side rendering #218

Closed
shashkovdanil opened this issue Mar 31, 2019 · 6 comments · Fixed by #261
Closed

Server side rendering #218

shashkovdanil opened this issue Mar 31, 2019 · 6 comments · Fixed by #261
Milestone

Comments

@shashkovdanil
Copy link

Do you plan to support server rendering?

@kitten
Copy link
Member

kitten commented Mar 31, 2019

Yep, that's connected to this issue: #208

Since we were using hooks we needed another major building block for SSR which is now done: https://github.com/FormidableLabs/react-ssr-prepass

It's definitely one of the reasons why we haven't announced urql v1 publicly yet

@kitten kitten added this to the v1 Roadmap milestone Mar 31, 2019
@ivan-kleshnin
Copy link
Contributor

ivan-kleshnin commented Apr 9, 2019

@kitten would be great to have a NextJS integration example once SSR is finished.

@BjoernRave
Copy link
Contributor

any updates on this. I would love to try out urql, but this is keeping me from doing so :/

@kitten
Copy link
Member

kitten commented May 31, 2019

@BjoernRave yea, This issue is at the top of my todo list so I'm expecting to get this done quite soon :)

@helloguille
Copy link

Let us know if there's an alpha we could try. I'd be happy to help testing or help debugging.

@kitten
Copy link
Member

kitten commented Jun 4, 2019

#250 and #256 introduce the groundwork for this to be completed. I'll write the API for getting the cache's state and rehydrating it soon, so this should be resolved shortly and we'll publish SSR support as part of v1.1

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 a pull request may close this issue.

5 participants