It’s serverless
Severless often gets touted as being the best way of doing things rather than just a way. My comment was a dig at that.
But it seems like my comment somehow exposes multiple levels of ignorance, would love to know what they all are!
think a "like count" database, it needs to increment and persist. Both very simple, and its implementation is entirely decoupled from the client implementation. Firebase would manage that for you, youd just call firebase functions instead of updating a database yourself.
note: i dont know if this is how tiktok works