Tallan Blog

Tallan’s Experts Share Their Knowledge on Technology, Trends and Solutions to Business Challenges

Posts Tagged "angular"

Angular Modules and Lazy Loading

When it comes to modern web applications, developers tend to gravitate towards one of the major players in the game. Of course, I am talking about Angular, React, and Vue. I personally have never been dismissive of any of these frameworks/libraries and have found that they each have their own usefulness for the problem I am trying to solve. One of the most common things I hear about Angular is how “heavy” it is. From a UI perspective and mobile-first mentality, you would not be incorrect. The way the Angular application is generated out of the box from the CLI is great for small apps, but when you get into enterprise-scale applications, using that same default box can lead to performance issues.
The Problem
Using the Angular CLI to generate a new angular application is a best practice we should all be…

Picture2

How to Switch Between Angular Applications with Conflicting Node.js Requirements Like a Pro

The Problem
As web developers, it is not uncommon for us to switch back and forth across different code bases throughout our day. If you are working with applications whose front-end development processes depend on different versions of Node.js, your workflow can quickly grind to a halt. Let’s imagine you’re working on two Angular applications. Application 1 is production code that uses Angular 6 and has a custom build process that strictly depends on version 8.9 of Node.js. Application 2 is a greenfield project and uses Angular 9 which will work with the latest version of Node.js. 
In normal circumstances we could install the latest version of Node.js and that would be enough to allow us to develop against both applications. However, because of Application 1’s strict dependency on Node versions we have a troublesome situation. Are we really going to need to uninstall and reinstall different versions of Node.js every time we switch between environments? Are we going to…

\\\