You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples I've seen that use this library avoid using getInitialProps() in the page components, whereas the learnnextjs.com prefers doing that and then passing data into child components.
Is the recommendation to always use apollo in components and not pages? How does one use withData and graphql together?
The text was updated successfully, but these errors were encountered:
The examples I've seen that use this library avoid using getInitialProps() in the page components, whereas the learnnextjs.com prefers doing that and then passing data into child components.
Is the recommendation to always use apollo in components and not pages? How does one use
withData
andgraphql
together?The text was updated successfully, but these errors were encountered: