Moving Code Evaluation to a WebWorker |

Published: 20 May 2021
on channel: Bayan Bennett
239
12

Took advantage of WebWorkers' independent scope to intercept console methods away from the page context. This way, code can be evaluated individually. I also used the Proxy class to intercept all calls to all console methods.

📰 Article: https://www.bayanbennett.com/posts/mo...
🗃️ Repository: https://github.com/BayanBennett/refer...
🌐 Site: https://reference.bayanbennett.com/

CHAPTERS #
0:00 Intro
0:30 Result
0:40 Problem
0:52 Looking at Workers
1:28 NextJS v10 ➕ Webpack v5
2:04 Communicating with the Worker
2:29 Proxy Class in JS
4:07 Proxy Implementation
5:48 Console Message Collection
6:19 Outro

---
#NextJS #WebWorkers #TypeScript


On this page of the site you can watch the video online Moving Code Evaluation to a WebWorker | with a duration of hours minute second in good quality, which was uploaded by the user Bayan Bennett 20 May 2021, share the link with friends and acquaintances, this video has already been watched 239 times on youtube and it was liked by 12 viewers. Enjoy your viewing!