Partytown
A tool for running compatible third-party scripts in a web worker.
What it does
A tool for running compatible third-party scripts in a web worker.
When it fits
Reducing main-thread work caused by external website scripts.
Other options in this category
- Loadable Components — Deferring component bundles until a route or feature needs them.
- next-lazy-hydration-on-scroll — Reducing initial client work for below-the-fold Next.js content.
- React Geiger — Noticing costly renders while interacting with an application.
- React Scan — Investigating unnecessary renders and interface performance problems.
- react-fast-memo — Exploring component memoization in measured performance-sensitive cases.
Source
Project source for Partytown ↗
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.