José Pablo Ramírez Vargaswebjose.hashnode.dev·Aug 26, 2024FeaturedFinally! Cancel Web Workers' Work Without Terminating the WorkerIf you have never worked with web workers, the title doesn't really evoke emotion. Am I right? But if you have, you know that as of today, there is no equivalent to what AbortController does for fetch. Well, let's change that. Meet @wjfe/async-worker...37 likes·434 readswebworker
Abdurrahman O.Sabdurrahmanos.hashnode.dev·Aug 14, 2024FeaturedHow to Use Web Workers in ReactReact applications utilize the main thread to handle User Interface(UI) rendering and JavaScript execution. This setup can cause performance issues when components run long tasks. We can offload heavy operations to a background thread using Web Worke...167 likes·4.7K readsReact
Kartik Mehtawriter.mrmehta.in·Jul 18, 2024Using Web Workers in JavaScript - An Old School Way of Writing CodeIntroduction JavaScript is a single-threaded language, meaning it can only perform one operation at a time. This limitation can lead to performance issues, especially when dealing with complex computations or heavy tasks that can block the main threa...11 likes·36 readsJavaScript
Ahmed Zougariblog.ahmedz.dev·Jul 5, 2024How to Integrate Google Analytics with Astro Using Partytown: The Best Way for Optimal PerformanceDay by Day I love Astro and its performance results, since you're reading this blog it's likely you're already using it. I will show you in this blog the best way to integrate Google Analytics (and maybe other third-party scripts like Facebook Pixel....15 likes·69 readsAstro
Zaur Hamidovjsaz.hashnode.dev·Jul 1, 2024Javascript-də "Worker"-lərJavascript bir çox cəhətdən zəngin dildir. Onun işə yarar bir çox özəlliyi var , digər istifadəçilər tərəfindən yaradılan bir çox kitabxanası var , həm client tərəfdə , həm də server tərəfdə ( node.js , deno , bun kimi runtime - ların köməyilə ) işlə...10 likes·115 readsWeb Development
Aditya Bondeadityabonde.hashnode.dev·Apr 14, 2024Accelerating Your JavaScript Applications with Multithreading using Worker Thread.Are you tired of your JavaScript applications slowing down when performing complex computations or tasks? Do you want to utilize the full potential of your users' devices without causing UI freezes or delays? If so, then Web Workers are here to save ...Dev BlogNode.js
Tuan Tran Vanblog.tuanhadev.tech·Mar 9, 2024React & Javascript Optimization Techniques - Part IIIn the previous article, we covered five techniques, including debouncing, throttling, memoization, bundle size optimization, and keeping the component state local when necessary. In this article, we'll explore the remaining four techniques. Without ...48 readsDeveloper Best Code Practicestechniques
Akash Thoriyaakashthoriya.hashnode.dev·Feb 10, 2024Web WorkersExpert-Level Explanation Web Workers in JavaScript allow for running scripts in background threads, separate from the main execution thread of a web application. This helps in performing tasks that require intensive computation without blocking the u...JavaScript Fundamentals for InterviewsJavaScript
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...9 likes·28 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...Angular