Absolute speed: SolidJS + Web-Workers
Автор: Atila
Загружено: 2023-05-31
Просмотров: 4691
Few things can compete when Fine-Grained Reactivity meets multi-threaded asynchronous code! Add to that the incredible Developer Experience from Vite and we have blazest of the fastest ⚡️
Let's see how to bring Web-Workers to a SolidStart app in under 5 minutes of coding!
00:00 - Intro
00:30 - Heavy lifting on the Frontend
00:40 - Concurrent Async
01:14 - Parallel Async with Workers
02:19 - SolidJS, Signals, and Fine-Grained Reactivity
03:16 - Markdown parser app
03:38 - Web-Workers, thanks Vite!
04:00 - Code overview, Signas and derived state
05:01 - Creating an Effect for parsing markdown in the main thread
05:49 - Let's code our Web-Worker
06:48 - Importing the Web-Worker
07:03 - A note on Vite's config for Web-Workers
07:25 - Instantiate the Web-Worker
08:13 - Final result overview
---
bsky invite code: bsky-social-qxxns-czobt
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: