Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Web-Workers, React, and TypeScript: Off the main thread!

Автор: Atila

Загружено: 2021-04-16

Просмотров: 24574

Описание:

Web-Workers are an extreme powerful API which has been available for quite a while. It allow developers to split their tasks into multiple threads so the perceived performance is not damaged even when we must do extreme processing on the client-side. On this video, I will show you how to send your application state to a Web-Worker and have it processed without affecting the Main Thread performance! Blocking script? Never again! ⚡️


===================================
|| shameless mandatory buzzword abuse: ||
|| Web Workers are B.L.A.Z.I.N.G fast!!! ||
===================================

📽 Chapters

0:25 Install dependencies 📦
1:16 Concepts: Sync / Async / Multi-Thread 🎓
3:08 What are Web-Workers? 🧐
4:34 Add Web-Worker support to tsconfig.json and webpack.config.js ⚙️
5:49 Small CSS adjustments for presentation purposes 🎨
6:15 Add components to App.tsx 🧩
8:20 Create thread-blocking task 🕰
9:41 Use the task inside a sync and inside an async function (Promise) 🙏
10:37 Add tasks to click handlers 🐭
12:11 Create the Web-Worker file 🚜
12:33 What does Comlink actually do? RPC + Proxy 📡
14:28 Add the Web-Worker to our runtime function calls in App.tsx 🛰
15:57 Example Showdown: Sync vs Async vs Mult-Thread 🥊
18:05 Final considerations 👋

Web-Workers, React, and TypeScript: Off the main thread!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Service Workers: Why Aren’t More Developers Using This Hidden Gem?

Service Workers: Why Aren’t More Developers Using This Hidden Gem?

ДОКАЗАТЕЛЬСТВО JavaScript — многопоточный язык

ДОКАЗАТЕЛЬСТВО JavaScript — многопоточный язык

JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue

JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue

Everything About Web Workers in JavaScript

Everything About Web Workers in JavaScript

Why I Stopped using Service Workers

Why I Stopped using Service Workers

Краткие советы по кодированию: использование плагина Vite PWA

Краткие советы по кодированию: использование плагина Vite PWA

JavaScript Web Workers Explained

JavaScript Web Workers Explained

Learn TypeScript Generics In 13 Minutes

Learn TypeScript Generics In 13 Minutes

Web Workers in Action - Performance Boost for Web Applications (2023)

Web Workers in Action - Performance Boost for Web Applications (2023)

How To Debug React Apps Like A Senior Developer

How To Debug React Apps Like A Senior Developer

TypeScript Crash Course

TypeScript Crash Course

🎣 Custom Hooks Meet Web Workers: Transform Your React Apps

🎣 Custom Hooks Meet Web Workers: Transform Your React Apps

The main thread is overworked & underpaid (Chrome Dev Summit 2019)

The main thread is overworked & underpaid (Chrome Dev Summit 2019)

Лучший вспомогательный инструмент React — руководство по инструментам разработчика React

Лучший вспомогательный инструмент React — руководство по инструментам разработчика React

Intro To Service Workers & Caching

Intro To Service Workers & Caching

Web Workers Explained

Web Workers Explained

Multithreading in Javascript Using Worker Threads

Multithreading in Javascript Using Worker Threads

Multi-threaded SolidStart with Web-Workers

Multi-threaded SolidStart with Web-Workers

How to use IndexedDB to store data for your web application in the browser

How to use IndexedDB to store data for your web application in the browser

Web Workers, Service Workers, and PWAs

Web Workers, Service Workers, and PWAs

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]