svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Await blocks not behaving as expected

Open codewithpatelo opened this issue 2 years ago • 3 comments

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.

image

The behaviour seems to reproduce in production only, but not for now in local development servers. Maybe something with cache??

Reproduction

  1. Build the application
  2. Start application
  3. Access the application throw a browser (ie: Chrome)
  4. Refresh the browser
  5. Wait for data updates. image

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

codewithpatelo avatar Aug 23 '22 03:08 codewithpatelo

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.

jasonlyu123 avatar Aug 23 '22 03:08 jasonlyu123

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.

codewithpatelo avatar Aug 23 '22 18:08 codewithpatelo

Here you have the REPL link with the code related with the problem: https://replit.com/join/jnafdssdbw-patriciojulian

codewithpatelo avatar Aug 23 '22 18:08 codewithpatelo

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.

Conduitry avatar Oct 19 '22 20:10 Conduitry