Am I the only that doesn't "get" Linear? Even if speed is the killer feature, isn't an issue tracker a relatively low-frequency application for a dev? Whenever I use it, I don't feel like I'm doing anything new when compared to all the other issue trackers and Kanban boards I've used before.
How's Linear so fast? A technical breakdown
111–120 of 250 posts
Re: How's Linear so fast? A technical breakdown
#112Any good resources or wrappers for indexedDB people would recommend? The API seems kinda unapproachable compared to other data stores. https://github.com/tinyplex/tinybase seems kinda good maybe?
Re: How's Linear so fast? A technical breakdown
#113Earlier quoted context omitted.
Works for Linear because the tab stays open, and worse case if tab is closed you can recover later when the tab is opened again and deal with conflict resolution. Won't work if: 1. user clicks a button and closes the tab thinking transaction is done and it's important that transaction is done 2. conflict resolution is difficult or impossible in future client wake up
The user clicks the button, the mutation is stored in local storage. The user closes the tab, but it's not a problem. A background worker picks up the mutation and sends it to the remote backend. It takes time, retries, etc. Similarly, any errors reported by the background worker go to local store, and the next time the UI tab is loaded / activated, they are shown. A service worker can show a notification outright to…
More generally: You can't circument the trade-offs of a distributed database, which such products are, conceptually.
Re: How's Linear so fast? A technical breakdown
#114Whole blog post is basically: Make a mutation in the clientside, assume it worked, and save in the background.
Though its depressing how few actually use it to its full extent. My team is one of the few where I work; heavy declarative mutation directives with optimisticResponse (and optimisticUpdaters because some of our APIs are not very Relay-compatible, annoyingly)
Re: How's Linear so fast? A technical breakdown
#115We use Linear at work. I’m definitely in the minority, but I really struggle with the UX. I also wouldn’t call it fast. Sure the page technically loads reasonably quickly, but half the time I see numbers updating on the page with no visual indicator that data loading is still happening.
Re: How's Linear so fast? A technical breakdown
#116We use Linear at work. I’m definitely in the minority, but I really struggle with the UX. I also wouldn’t call it fast. Sure the page technically loads reasonably quickly, but half the time I see numbers updating on the page with no visual indicator that data loading is still happening.
Re: How's Linear so fast? A technical breakdown
#117We use Linear at work. I’m definitely in the minority, but I really struggle with the UX. I also wouldn’t call it fast. Sure the page technically loads reasonably quickly, but half the time I see numbers updating on the page with no visual indicator that data loading is still happening.
For example, the search field only shows if you press "ctrl-f".