• Distributed@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Should the front end be waiting on a response from the server in this case? Seems like an interaction like this should be fire/forget and just automatically updated on the UI side.

    I mainly use jerboa and it seems like this is how it’s done as likes feel instant

    • RoundSparrow@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Should the front end be waiting on a response from the server in this case?

      yha, it is unusual. But I like it at this point, as it exposes the general problem. It isn’t trivial to populate the database (there is no current back-fill procedure for new instances) and user traffic to match the big sites (Beehaw, Lemmy.world, Lemmy.ml) - so at least I can get a sense of what ‘standard performance’ is considered.