Update implementation to use AppTree
Closed this issue · 3 comments
bwesner commented
In your next-apollo-example
, you mention waiting on a bug fix to be able to use useRouter
properly: https://github.com/adamsoffer/next-apollo-example/blob/52317222c6a326568056ffa1ed63793fa423d10d/components/Header/index.js#L7
They have fixed it in vercel/next.js#7732
We need to update next-apollo
to use AppTree
so that this can be properly supported. Afterwords, next-apollo-example
should be updated.
Check out how they updated their example here: vercel/next.js@dc9e270
adamsoffer commented
Great thanks for the heads up @bwesner.
adamsoffer commented
@bwesner Sorry been quite busy and haven't gotten to this yet. Feel free to submit a PR!
adamsoffer commented
@bwesner heads up this has been fixed in v3.1.4