Too Long; Didn't Read
Use Declarative Cloud Functions In Your Serverless Apps To Control Size of Codebase. The solution is a declarative approach to adding business logic where you don’t have to touch the underlying code. This is the same approach that makes React so popular: it lets developers declare what should appear on screen without worrying about how to manipulate and update the underlying DOM to achieve it. To re-implement the three tasks I mentioned above with this solution, I would need to explicitly write 3 cloud functions for each of the 3 triggers for the 2 collections mentioned — that’s 18 cloud functions in total!
Share Your Thoughts