---
title: "Discussion on \"Static CSS Leakage in Microfrontends — Why Shadow DOM Fails and How postcss-prefix-selector Fixes It\" | Hashnode"
description: "Discussion on \"Static CSS Leakage in Microfrontends — Why Shadow DOM Fails and How postcss-prefix-selector Fixes It\". Static CSS in a child app was leaking into the host app — here's why Shadow DOM couldn't fix it and how postcss-prefix-selector solved it."
url: "https://hashnode.com/posts/static-css-leakage-in-microfrontends-why-shadow-dom-fails-and-how-postcss-prefix-selector-fixes-it/69e9f8e416b084c068037352"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Static CSS Leakage in Microfrontends — Why Shadow DOM Fails and How postcss-prefix-selector Fixes It](https://chloezhou.dev/static-css-leakage-in-microfrontends-why-shadow-dom-fails-and-how-postcss-prefix-selector-fixes-it?utm_source=hashnode&utm_medium=feed)

Static CSS in a child app was leaking into the host app — here's why Shadow DOM couldn't fix it and how postcss-prefix-selector solved it.

Apr 23 · 8 min read · chloezhou.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#microfrontend](https://hashnode.com/tag/microfrontend)
-   [#webpack](https://hashnode.com/tag/webpack)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#css](https://hashnode.com/tag/css)

## Written by

[Chloe Zhou](https://hashnode.com/@chloezhoudev)

@chloezhoudev

  
[View profile](https://hashnode.com/@chloezhoudev)

Frontend Engineer · Documenting what I build and break

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
