REVERSE ENGINEERING LINEAR'S SYNC ENGINE: A DETAILED STUDY (1 HOUR READ)
This document reverse-engineers Linear's Sync Engine (LSE). LSE uses models defined with JavaScript classes and decorators, using MobX for observability and a sophisticated bootstrapping and lazy loading system. Client-side changes are sent as transactions to the server and are managed using a transaction queue, with conflict resolution handled using a "last-writer-wins" strategy.