Skip to content

sync #3

@heywinit

Description

@heywinit

we're dealing with somewhat (maybe an overstatement) t3chat levels of sync, if not right now, maybe letter, but for sure.

  • the app is supposed to be offline first so we'll heavily use indexeddb for local storage
  • the app is supposed to be collaborative so we'll be using supabase realtime along with a postgres database

we need to figure out how the both get synced.

i'm borrowing a lot of ideas from theo's video about the sync solution in t3chat. @byedeep get up to date with this too.

i'm heavily inclined towards using legendstate with the indexeddb for the frontend and then a custom sync solution for realtime sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions