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
Struggled with enabling polling with our Apollo Client this week, would be a nice mention that SSRMode also disables the possibility of using the Polling feature!
The text was updated successfully, but these errors were encountered:
ssrMode is meant for situations where you want to render your app until is has fetched all data, so you can really render your app once on the server and then throw the full app away. A ssrMode app should never exist for a longer period of time.
Polling on the other hand makes only sense if your application exists for a longer amount of time.
Can you elaborate in which situation you are using it here? Without knowing details, it sounds to me that you might be in a situation where you should never be using ssrMode.
We have a hybrid solution, where one part of the application is using SSR (articles generated from Graphql) and another is not using SSR(Forum system, in current development).
However my inquiry here does not really relate to a specific application, i just wanted to address how the documentation about ssrMode could be further improved by giving some more information that this mode limits the usage of other functionality, E.G polling.
My problem was due to my own ignorance with SSRmode but could have been solved earlier with some further details in this section, or in the polling section.
https://github.com/apollographql/apollo-client/blob/7a49cd0db77f25917fc24d7c4a35b4bb68ec2c3e/docs/source/performance/server-side-rendering.mdx#L59C153-L59C153
Struggled with enabling polling with our Apollo Client this week, would be a nice mention that SSRMode also disables the possibility of using the
Polling
feature!The text was updated successfully, but these errors were encountered: