The single-threaded nature of JavaScript is due to the fact that it was designed to be used in web browsers.
However, nowadays, having to run intense operations on the main thread in your apps is not always a valid excuse.
Web Workers allow us to make use of our multi-core CPUs, and using them in Angular has never been easier.
Give the main thread some slack, and start leveraging some of the heavy lifting to your web workers in your app!
----------------------------------------------------------------------------------------------------------------------
About Angular Tiny Conf
Angular is the beloved framework to thousands of developers around the world and has lately been moving at a very fast pace.
The Angular Tiny Conference is a quarterly one-day online event aiming to share all of the amazing ways individuals and teams are using not only the latest and greatest features, but also to celebrate the hard-won victories as a testimony to the longevity and health of the platform.
Find out more at: https://angulartinyconf.com
Thank you to our sponsor Techlabs 28 (https://techlabs28.com) your premier provider for full stack Angular applications. Have the next big idea or need help with an existing project, please get in touch.
At Techlabs 28 We simply take care of IT