Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when ssrMode is set to true, client side pollInterval is not enabled #8310

Open
karmingc opened this issue May 28, 2021 · 0 comments
Open

when ssrMode is set to true, client side pollInterval is not enabled #8310

karmingc opened this issue May 28, 2021 · 0 comments
Labels

Comments

@karmingc
Copy link

karmingc commented May 28, 2021

Background
Currently working with Next.JS and hoping to use pollInterval on the client side. Unfortunately, this seems to be disabled when we turn ssrMode: true. Would love to know how to approach this.

Intended outcome:
polling is enabled when user visits the page.

Actual outcome:
polling is not enabled.

How to reproduce the issue:
set ssrMode: true and use pollInterval in a component

Versions

  @apollo/client: ^3.3.19
  System:
    OS: macOS 10.15.7
  Binaries:
    Node: 14.16.1 - ~/.nvm/versions/node/v14.16.1/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.12 - ~/.nvm/versions/node/v14.16.1/bin/npm
  Browsers:
    Chrome: 90.0.4430.212
    Safari: 14.1
@karmingc karmingc changed the title when ssrMode is set to true, client side pollInterval is not working as expected when ssrMode is set to true, client side pollInterval is not enabled May 28, 2021
@brainkim brainkim self-assigned this Aug 13, 2021
@brainkim brainkim mentioned this issue Aug 13, 2021
14 tasks
@brainkim brainkim mentioned this issue Aug 27, 2021
@hwillson hwillson added the 🔍 investigate Investigate further label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants