1 dépôt
Replicates browser global objects like window and document within isolated execution contexts.
Distinct from Document Object Interfaces: Focuses on the virtualization of browser interfaces for worker environments, distinct from general DOM manipulation.
Explore 1 awesome GitHub repository matching software engineering & architecture · Interface Virtualizers. Refine with filters or upvote what's useful.
Partytown is a library designed to offload resource-intensive third-party scripts to background web workers. By executing these scripts outside of the main thread, it prevents them from blocking the critical rendering path, thereby maintaining a responsive user interface and improving overall page load performance. The project functions as a web worker proxy library that synchronizes browser interfaces between the main thread and background environments. It uses proxy-based access and synchronous messaging to replicate global objects like the window and document, allowing scripts to interact
Replicates browser window and document interfaces within a worker environment to provide a consistent execution context.