Skip to content
micro-frontend.dev 2.0

Micro-frontends and Web Workers

Author: Natalia Venditto

Date First Published: Wed Jan 04 2023

Full-stack micro-frontends demand a change in the way we think about web development

When designing applications that render HTML both in the server and in the client, are highly dynamic and connect to a myriad of data sources, we will need to strategically design them app so whatever is rendered in the server as static HTML, becomes later dynamic using the hydration techinques described above in a way that preserves runtime performance and usability.

Some features, like analytics or user tracking, involving cookies, etc, will definitely need to be run client-side.

service workers

Micro-frontends and Web Workers

Web Workers are of great help to run specific code in the browser, particularly code that needs to load and run early and has the potential of blocking the main thread, without actually blocking the main thread. Learn more about Web Workers here.