starfederation / datastar

A real-time hypermedia framework.
https://data-star.dev/
MIT License
733 stars 40 forks source link

Sync activation bug on first time user goes to https://data-star.dev #88

Closed gedw99 closed 5 months ago

gedw99 commented 5 months ago

Tested on Mac Safari, iPhone Safari and Mac Chrome

The first time a user goes to https://data-star.dev, there is about a 10 to 15 seconds delay until clicks on todo checkboxes actually activates.

If you close and open the tab again, you will not experience this delay.

delaneyj commented 5 months ago

Can't reproduce

gedw99 commented 5 months ago

I will try to work out the sequence to reproduce. Me and 2 others had it.

gedw99 commented 5 months ago

Ok I worked out how to Reproduce:

From https://data-star.dev:

In Mac Safari I clear Local storage and Session Storage, and then refresh the page in the browser, and the bug occurs.

I also tried it in Chrome, but got it happening in a non deterministic way.

Will try to work it out a bit more when I get a chance but thats how far I got so far..

delaneyj commented 5 months ago

Think same issues as #91