reflex-dev / reflex-examples

A repository full of Reflex example apps.
456 stars 352 forks source link

counter example: why response is slow, when click really fast, the counter takes seconds to catch up #181

Open zfusx opened 9 months ago

zfusx commented 9 months ago

counter example: why response is slow, when click really fast, the counter takes seconds to catch up

https://github.com/reflex-dev/reflex-examples/assets/155436867/f13aa1f7-aec9-476c-b709-6350a79d8a7f

picklelo commented 9 months ago

Is this on local development or on the hosted version? On the hosted version it's likely due to roundtrip times - we only have one server so if you're far away from it or your connection is bad you may see latency.

zfusx commented 9 months ago

Is this on local development or on the hosted version? On the hosted version it's likely due to roundtrip times - we only have one server so if you're far away from it or your connection is bad you may see latency.

It's very slow from the link https://counter.reflex.run/, you can have a try , but it's fine when download the code and running on my machine, thanks