How do you order events in a local-first app? 🤔
An answer is Hybrid Logical Clocks (HLC)
HLC allows synchronizing time in multiple nodes with a combination of physical clock and logical clock
Keep track of time on separate devices without relying on a centralised clock or server coordination