Fork me on GitHub
#hyperfiddle
<
2024-03-06
>
simonkatz11:03:17

I’m using catch Pending to display a background image — it’s working fine. Is there a way to do this only if the pending state lasts for longer than, say, 0.5 seconds, to avoid the UI “flashing” when actions complete quickly?

simonkatz12:03:38

Perfect! Thank you

danbunea18:03:55

In my quest about deploying options, I am looking at Amazon EC2:

👍 1
danbunea18:03:36

So the first option is to manually create an AWS EC2 instance, ssh into it, install git and docker and start it there

danbunea18:03:50

I put all the instructions in this readme: https://github.com/DanBunea/electric-starter-app

👀 1
danbunea18:03:45

Next time, I will use ECS (Containers/Services/Task definition to get the docker image from ECR)

danbunea18:03:13

for now, if someone is a true newbie, this is how to set it up on EC2 manually

Dustin Getz19:03:54

Cool, and fwiw, the -67 is not a measure of latency, it's a measure of clock skew between client and server

danbunea21:03:41

I copied from the tutorial the TwoClocks component and put it in the main of the starter app