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
En esta página del sitio puede ver el video en línea Moving Code Evaluation to a WebWorker | de Duración hora minuto segunda en buena calidad , que subió el usuario Bayan Bennett 20 mayo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 239 veces y le gustó 12 a los espectadores. Disfruta viendo!