rsnext/examples/with-apollo/pages
Henrik Wenz 1a50d99fbd
Update withApollo example (#10451)
* Make withApollo work with _app.js components

* Support wrapping functional _App

* Add apolloClient to NextPageContext & NextPageContext

* Propertly call App.getInitialProps if used in NextAppContext

* Add Automatic Static Optimization warning

* Update deps

* Reduce API surface

* Move back to singleton client

* Improve documentation

* Remove Head.rewind()
We can get rid of .rewind by now as the latest next/head no longer uses legacy context.

* Add extra docs

* Reuse apolloState coming from previous hocs

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-13 00:26:22 -05:00
..
about.js Update withApollo example (#10451) 2020-02-13 00:26:22 -05:00
client-only.js Update withApollo example (#10451) 2020-02-13 00:26:22 -05:00
index.js Update withApollo example (#10451) 2020-02-13 00:26:22 -05:00