Urql: Server side rendering

Created on 31 Mar 2019  路  6Comments  路  Source: FormidableLabs/urql

Do you plan to support server rendering?

Most helpful comment

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

All 6 comments

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 would be great to have a NextJS integration example once SSR is finished.

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

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wodnjs6512 picture wodnjs6512  路  3Comments

kitten picture kitten  路  4Comments

andyrichardson picture andyrichardson  路  4Comments

nicollecastrog picture nicollecastrog  路  3Comments

maxzhuk0v picture maxzhuk0v  路  3Comments