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
So i've been working on a project that uses Next.js and Apollo client. We had some issues with page re-renders because the Apollo client was being re-instantiated on route changes.
Wrapping the App in a HOC definitely fixes the problem and I see this pattern being used for this problem everywhere online.
I'm trying to understand why this works and maybe what are the other potential solutions to a problem like this?
Thanks for your work on this package btw.
Cheers
Adam
The text was updated successfully, but these errors were encountered:
Hey,
So i've been working on a project that uses Next.js and Apollo client. We had some issues with page re-renders because the Apollo client was being re-instantiated on route changes.
Wrapping the App in a HOC definitely fixes the problem and I see this pattern being used for this problem everywhere online.
I'm trying to understand why this works and maybe what are the other potential solutions to a problem like this?
Thanks for your work on this package btw.
Cheers
Adam
The text was updated successfully, but these errors were encountered: