svelte
svelte copied to clipboard
Await blocks not behaving as expected
Describe the bug
At random times, await blocks bugs and show the double number of columns in a table. This persists after the data is loaded.
The behaviour seems to reproduce in production only, but not for now in local development servers. Maybe something with cache??
Reproduction
- Build the application
- Start application
- Access the application throw a browser (ie: Chrome)
- Refresh the browser
- Wait for data updates.
Logs
Both server and browser console logs show no errors.
System Info
User context:
Ubuntu 20.04.4 (64-bit)
Chrome Version 101.0.4951.54 (Official Build) (64-bit)
Server context: I'm running the application in an EC2 t2.small Instance with Amazon Linux. (npm 6.14.15 "svelte": "^3.17.3" "rollup": "^2.3.4" "webpack": "^4.46.0" node v12.22.9 npx 6.14.15)
Severity
annoyance
Did you forget to add the link to "the application"? Please provide a reproduction in a repository form or a REPL link. There's much we can do with this little information.
I cannot expose all the code due to client's NDA, but I can share the public link to the application: http://35.166.98.10:8080/spy, I can also share the specific lines involved in a repository format or try to make a simpler REPL of that part of the app is that works. I'll work on that and come back. In the meantime, any hint might help.
Here you have the REPL link with the code related with the problem: https://replit.com/join/jnafdssdbw-patriciojulian
Please provide a simple, minimal reproduction of the issue, preferably as a link to Svelte own REPL. When I click the link you gave above, I'm asked to log in or register.