Use Declarative Cloud Functions In Your Serverless Apps To Control Size of Codebase

Written by magik | Published 2020/06/23
Tech Story Tags: programming | web-development | serverless | nodejs | google-cloud-platform | software-engineering | javascript | cloud-computing

TLDR 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!via the TL;DR App

no story

Published by HackerNoon on 2020/06/23