We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
with-apollo-auth
I need to refresh the page after performing login/register/logout to see the result.
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn create next-app --example with-apollo-auth with-apollo-auth-app
yarn dev
After login I should see the logged in page.
I think it's connected to this piece of code:
// Force a reload of all the current queries now that the user is // logged in client.cache.reset().then(() => { redirect({}, '/') })
It seems the reset is not performed, as I need to refresh the page to see the desired result (same with register, logout).
Examples bug report
Example name
with-apollo-auth
Describe the bug
I need to refresh the page after performing login/register/logout to see the result.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn create next-app --example with-apollo-auth with-apollo-auth-appyarn devExpected behavior
After login I should see the logged in page.
System information
Additional context
I think it's connected to this piece of code:
It seems the reset is not performed, as I need to refresh the page to see the desired result (same with register, logout).