Skip to content

Commit 07a3101

Browse files
committed
improve link?
1 parent f248a79 commit 07a3101

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/packages/docs/src/pages/local-development-atomic-clashes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The sorting order looks like this:
3636
7. At-rules like `@media` (sorted by breakpoint dimensions)
3737
8. Other at-rules (`@keyframes`, `@supports`, etc.)
3838

39-
Within each at-rule group (like `@media` queries), the same property ordering is applied recursively, so `font` always comes before `font-weight`.
39+
Within each at-rule group (like `@media` queries), the same property ordering is applied recursively, so `font` always comes before `font-weight` and so on.
4040

4141
This creates approximately 15–25 distinct atomic groups on average (technically infinite due to media query combinations).
4242

@@ -65,7 +65,7 @@ These two sets are not sorted together as one unified stylesheet. Whichever set
6565
### What happens
6666

6767
1. **Npm packages** are built with extraction enabled, so their styles are in `compiled.css` files that get injected as `<style>` tags when the package loads
68-
2. **Your local project** runs in development mode with extraction disabled (default in most bundlers), so Compiled uses [runtime styles](/how-it-works#runtime-styles-unperformant) injected into style buckets.
68+
2. **Your local project** runs in development mode with extraction disabled (default in most bundlers), so Compiled uses [runtime styles](/how-it-works#runtime-styles-(unperformant)) injected into style buckets.
6969
3. Both sets of styles are injected as separate `<style>` tags in the document `<head>`, but they're **not sorted together as one unified set**
7070
4. Because Compiled uses the same deterministic algorithm to generate class names, both sources generate **identical class names** for identical CSS declarations
7171
5. **Result**: Your local runtime styles override npm package styles unexpectedly, breaking components from the npm packages

0 commit comments

Comments
 (0)