At this moment I have one doubt, My functions works isolate and we have to install packages separately for each function, doing this does not result is redundant?, I say these because if we need a package in many function we have to install it as many times as functions we have and our project will have one pacakage in multpiple folders, maybe these is not important, it's just a coruosity for me!
When the functions are deployed, they are separate and require their own dependencies. This is good for isolation, but the dev experience has changed since I wrote this article. Now when you use Architect, you no longer need a per function package.json. The Architect framework takes care of looking it up for you. We're calling it Lambda treeshaking blog.begin.com/architect-8-4-say-h...
At this moment I have one doubt, My functions works isolate and we have to install packages separately for each function, doing this does not result is redundant?, I say these because if we need a package in many function we have to install it as many times as functions we have and our project will have one pacakage in multpiple folders, maybe these is not important, it's just a coruosity for me!
When the functions are deployed, they are separate and require their own dependencies. This is good for isolation, but the dev experience has changed since I wrote this article. Now when you use Architect, you no longer need a per function package.json. The Architect framework takes care of looking it up for you. We're calling it Lambda treeshaking blog.begin.com/architect-8-4-say-h...
Thaks! I begining with serverless and you answers help me a lot!