cba5c05b36
* Fix getInitialProps in with-apollo example
The code before had two design flaws:
* When we skip WithApollo.getInitialProps we must hoist PageComponent.getInitialProps if it is present.
* We should expose the apolloClient to underlying PageComponent.getInitialProps contexts.
* Add abort check
* Add some comments
* Add client only example page
https://github.com/zeit/next.js/pull/8620#issuecomment-527870886
* Remove connectToDevTools setting in favor default config
|
||
---|---|---|
.. | ||
App.js | ||
ErrorMessage.js | ||
Header.js | ||
InfoBox.js | ||
PostList.js | ||
PostUpvoter.js | ||
Submit.js |