When using SSR the counter value is cached when it was first requested. Afterwards even the counter value is increased refresh of the page will provide old value since it comes from the cache. Use fetch policy none in the query to avoid this and test if that resolves the issue.
Initial SSR request
Incrased the counter from fronted
And refresh the page

When using SSR the counter value is cached when it was first requested. Afterwards even the counter value is increased refresh of the page will provide old value since it comes from the cache. Use fetch policy none in the query to avoid this and test if that resolves the issue.
Initial SSR request
Incrased the counter from fronted
And refresh the page