Edit: Removed the photos due to lemmy crawler displaying the toot.

    • Xylight@lemdro.id
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      photon doesn’t directly communicate with the backend, it’s not intended for that. but even then, lemmy-ui is almost entirely client side (for some reason) and it makes its calls to the API

    • schizo@forum.uncomfortable.business
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 months ago

      Well, Lemmy’s front end talks to it’s back end via an API, which is pretty much how every web app of any scale works these days.

      There’s really not any particular difference between a monolithic app vs a seperate front end in terms of “all those API calls” since everything is basically calling APIs at this point, if they’re not made by complete incompetents. (In the case of Mastodon, though, I suppose complete incompetent is possible.)