This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
This release adds support for different urql
Client configurations between the client-side and the server-side when using next-urql
.
Warning: To support this, access to Next's context object, ctx
, can only happen on the server.
Added
- An example showing how to use a custom exchange with
next-urql
. PR by @ryan-gilb here. - Instructions for using
next-urql
with ReasonML. PR by @parkerziegler here.
Fixed
clientOptions
are no longer serialized inside ofwithUrql
'sgetInitialProps
method. This ensures that users can use different Client configurations between the client and server. PR by @parkerziegler here.- Proper support for forwarding
pageProps
when usingwithUrqlClient
with an_app.js
component. Theurql
Client instance is also attached toctx
for_app.js
getInitialProps
. PR by @parkerziegler here. react-ssr-prepass
dependency upgraded to1.1.2
to supporturql
>= 1.9.0
. PR by @JoviDeCroock here.