From the server to SQLite to reactive Svelte state

(milieu.cloud)

1 points | by joeldrapper 10 hours ago ago

1 comments

  • joeldrapper 10 hours ago ago

    I wrote about our sync engine at Milieu. I think our approach is quite interesting because it allows us to start with server-side rendering and then seamlessly transition to an offline-first mode with background syncing.

    Because we use SQLite on the server, we can also share queries and pure deciders between the client and the server, which makes it easier to keep everything consistent.

    And finally, it doesn’t keep crashing in Safari like Linear.

    I’d love to know what you think of the approach and any suggestions on how to improve it.