Angular

Angular Subjects: See how to efficiently use them by implementing an intermediate service for data sharing between components

Angular Subjects: See how to efficiently use them by implementing an intermediate service for data sharing between components

Using a shared service to exchange data between 2 unrelated components is a quite used practice. Here, we will go coding in a step-by-step manner, to see how we can use the Subject’s flavors and avoid some commonly faced pitfalls.

Use a bash script to automate a Typescript-Node project scaffolding in your Mac
|

Use a bash script to automate a Typescript-Node project scaffolding in your Mac

Even in the case you are a newcomer, sooner or later, you will start boring the routine of repeating, again and again, the same actions.
Here there is a quite simple approach using just a pure bash shell script. No external tools or npm packages. Just a quick, clean and fast solution, especially handy for your very fundamental installations.