Congratulations Qwik with Partytown is working!
Expensive script running in Partytown is running.
Next steps:
partytown.js is used to execute things of main thread and not for rendering the application.)<script> tag that contains a simulation of expensive script. The expensive script simplation keeps the web-worker thread busy for 2.5 seconds, leaving main-thread free for user interactions. (Without Partytown the script would block the main thread resulting in poor user experience.)expensiveComputationDone) that this component listens on. It is only at that time that Qwik lazy-loads the component render function and updates the UI. (See network tab.)Hello World!Made with ❤️ by Builder.io