Comments (8)
thanks so much for the thoughtful steps in the screencapture 🙏
We're able to reliably reproduce the issue, have identified the problem and have a PR awaiting review
from apollo-server.
Hello! Thank you for this bug report. We will look into and update when we find a resolution.
from apollo-server.
Hi there, thanks so much for the bug report
Could you please help confirm a few things so we can make sure we're looking at the right thing? 🙏
Is it the case that the page is refreshing by itself, with no user interaction?
The codepaths that trigger a refresh are currently all in button click handlers, I can't imagine how that could be possible 🤔
It is the case that if you have multiple tabs open, clicking on "update" in one tab will trigger updates across all tabs, might that be what you experienced?
Wrt losing time and effort, we use localStorage to persist state, refreshing shouldn't cause lost work.
Was sandbox being opened in your browser's incognito mode?
Does refreshing a tab normally cause contents to be lost, or only if it was from an update? (how do you know the page refreshed from an update?)
from apollo-server.
Hi @cheapsteak,
To answer your question yes, the page is refreshing itself with no user interaction, that is, the user didn't request the page refresh. I have never seen any "update" button you're referring to, but having one and installing updates only when clicked or on manual page refresh would very much fix this issue.
As shown by this screen capture, you can see it takes roughly 10 seconds from the moment I access the page for the first time and the moment it reloads. I even used Incognito mode to make sure no extension or any other tab is interfering.
I have time to start building my document, and the page refreshes before showing again in its default empty state.
Untitled.2.mov
Now, I'm aware I can configure the embed to keep its state between refreshes with the persistExplorerState
option, but in my opinion it's not a valid solution since it's still disruptive, and I'd like to avoid storing authorisation headers in the local storage.
from apollo-server.
Related Issues (20)
- Update `@koa/cors` dependency for AS3 (or why we don't intend to) HOT 2
- Share and modify variables between Express and the GraphQL/Apollo server HOT 1
- Error: ApolloServer<BaseContext>' is not assignable to type 'ApolloServer<ExpressContext> HOT 3
- callback function for onSchemaLoadOrUpdate when upgrading from AS v3 to AS v4 HOT 3
- Allow plugins to throw meaningful GraphQL errors
- Getting started tutorial has typescript issues...
- Delay when subscription is closed on client side of the router when using callback
- Documentation and dynamic cache control feature of Apollo leverages incompatible GraphQl type interface. HOT 4
- Disabling introspection should also disable "Did you mean ...?" HOT 3
- Undefined 'code' TypeError within errorNormalize HOT 2
- Link broken for plugin
- The server crashes if a promise with deferred handling rejects while another promise is trying to resolve HOT 8
- Upgrade Express version to mitigate the Open Redirect Vulnerability in Express.js for malformed URLs, specifically targeting versions below 4.19.2. HOT 1
- Marking text works unreliable HOT 3
- CodeSandbox setup is failing HOT 1
- Passing context to datasource loses it's reference, meaning, we cannot mutate the context between the resolver and datasources. HOT 2
- Provide basic CSS formatting for markdown rendered in description fields for the sandbox
- Redirect in Context HOT 2
- API Mass Assignment Mitigation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-server.