top | item 44836476

(no title)

sturza | 6 months ago

Local-first buys you instant UX by moving state to the client, and then makes everything else a little harder

discuss

order

CharlieDigital|6 months ago

    > instant UX
I do not get the hype. At all.

"Local first" and "instant UX" are the least of my concerns when it comes to project management. "Easy to find things" and "good visibility" are far more important. Such a weird thing to index on.

I might interact with the project management tool a few times a day. If I'm so frequently accessing it as an IC or an EM that "instant UX" becomes a selling point, then I'm doing something wrong with my day.

virgil_disgr4ce|6 months ago

UI performance is "a weird thing to index on"?

nwienert|6 months ago

Actually it's both instant UX and far simpler code. With Zero I define a table schema, relationships, and permissions in beautifully simple code, then I also write my queries including relations with a nice typed query-builder, and I get not just instant UX but also perfectly fetched and synced data with permissions and mutations that are fully consistent without any extra thought.

Doing that with any other system, sync-engine or not, requires a huge mess of code and ends up implementing some sort of ad-hoc glue code to make even a part of this work.

I'm building an app right now with it and I'm currently so much further ahead in development than I could be with any other setup, with no bugs or messy code.

Your choice is either 100% server-side like v1 Rails, or some sort of ad-hoc sync/update system. My argument is either you should stick 100% server side, or go all the way client properly with a good sync engine. It's the middle part that sucks, and while there's a chunk of apps that benefit from fully server, it's not really an argument that you can build much faster responding apps client-side and that users generally prefer it, rightly so.

JamesSwift|6 months ago

Id say you are underreporting how much harder everything else becomes but yes, definitely agreed

captainregex|6 months ago

this is such a clean and articulate way of putting it. The discussion around here the last few days about local and the role it is going to play has been phenomenal and really genuine