Kelechi Amoskellyncodes.hashnode.dev·Sep 6, 2023How to implement web worker/background tasks in your Angular Application to perform long-running tasksTable of Contents Introduction What are Web Workers? Why Use Web Workers in Angular? Prerequisites Basic knowledge of Angular Setting up an Angular project Getting Started with Web Workers Creating a Basic Web Worker Communicating with a...Discuss·9 likes·26 readsAngular
Evgeniy OZeoz.hashnode.dev·Aug 7, 2023How to Exclude a Path in Angular Service WorkerThis article is based on experience: I’ll share all the needed details because it took some time to find them and also test and exclude all the non-working solutions. Requirements This solution is needed when a service worker should not handle the re...DiscussAngular
Jeremy Maglandmagland.hashnode.dev·Jan 23, 2023Typescript web workers in ReactJavaScript is usually a single-threaded language, but when you need to perform computational tasks without interfering with the user interface, web workers can help. Recently, it has become much easier to incorporate web workers in React projects, pa...Discuss·1 like·109 readsTypeScript
Akash Chaudharycyberlord007.hashnode.dev·Jan 1, 2023Web Workers - How are they different & why should we use them?Since the birth of the mighty warrior who conquered the web as if it was nothing, now known as Javascript, there's a saying that has been going on ever since... "Javascript is a synchronous and single-threaded programming language." The majority of...Discuss·162 readsJavaScript
Jay Desaidjaytechdiary.com·Dec 24, 2022Introduction to Web Workers in React: A Beginner's GuideIntroduction Web Workers are a way to run JavaScript in the background, separate from the main execution thread. This can be useful for offloading tasks that might block the main thread, such as loading large data sets or performing expensive calcula...Discuss·4.2K readswebworker
Vinay D Svinayds.hashnode.dev·Nov 12, 2022Web Workers API: Multithreading in JavaScriptIf you have been using JavaScript, you may know, that it is a single-threaded scripting language that works within HTML files. This means only one statement is executed at a time. However, we are also aware that JavaScript has asynchronous behavior w...Discuss·1 like·83 readsJavaScript
Piyush GoyaniforTheSourcePedia's Blogblog.thesourcepedia.org·Aug 18, 2022Dedicated and Shared Web Worker with Performance TestingOverview Web Workers are threads attached in Browser and run on the client side. It runs in a separate space from the main application thread. Simply It gives the ability to write multi-threaded Javascript applications. It is generally used to do hea...Discuss·11 likes·395 readswebworker
LALIT KANTA DIBYADARSHANboringdev.hashnode.dev·Aug 15, 2022Efficient communication for web workersHello readers, welcome to my new article on web worker communications. I hope you enjoyed my previous article on multi threading on the web. In this article, we will discuss how to scale web workers and handle worker responses more efficiently. [ Qu...Discuss·1 like·164 readsJavaScript
LALIT KANTA DIBYADARSHANboringdev.hashnode.dev·Jul 25, 2022Multi-threading on webMulti-threading on Web Hello awesome readers, hope you are having a great time. Today we will discuss a performance issue on the web and how to solve it using workers and multi-threading. Before we start, let's understand what is a thread and how it ...Discuss·1 like·191 readsJavaScript
Hrishikesh Barmanhrishi.hashnode.dev·Jul 21, 2022Demystifying webworkersThe simplest possible definition of a webworker that I can think of will be: A piece of code/functionality that offloads tasks from the main thread of JavaScript and runs in in another thread parallelly so that the main thread remains free" Now, th...Discuss·91 readsJavaScript