adamsoffer / adamsoffer/next-apollo

Hydratation bug with first render

オープン
#90 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
477
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I have followed the instructions in the readme but my page when it loads does the same query as the ssr page.
However there is the _NEXT_DATA_ with the right data.
My cache is not hydrated, is it possible to have the source code of the demo so that I understand what I did wrong?

also:

In a page contained by WithApollo
```
export default WithApollo( { ssr : true } )( Home );
```

I have as props:
```
(2) [{…}, {…}]
0: {apolloState: {…}, apolloClient: null}
1: {}
```
The apolloState has the right data, how can I pass them to Apollo client ?

Thanks! :).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。