Partytown

Run scripts in a web worker.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Offloads scripts from the main thread to a separate web worker. Allows third-party scripts to be sandboxed and throttled so the main thread can be dedicated to code you control. Easy to enable on any script via a custom attribute, but known to work well with analytics e.g. Google Tag Manager and support e.g. Intercom. Integrates with major frameworks. Open source.

Tradeoffs

Network tab shows lots of proxied requests, which makes it a bit noisy. Not suitable for UI intensive scripts due to DOM throttling. preventDefault() doesn’t work.

Is Partytown a fit?

Based on Console’s review published on 2022-11-17. Summary updated .

Who it’s for

Developers using major frameworks should consider this tool for offloading scripts

Why consider it

It offloads scripts from the main thread to a separate web worker

Keep in mind

It is not suitable for UI intensive scripts due to DOM throttling

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2022-11-17. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.