Skip to content

Commit 4bc53f8

Browse files
committed
add info to the architecture
1 parent 105aa4a commit 4bc53f8

File tree

1 file changed

+2
-0
lines changed
  • packages/dev/style-macro-chrome-plugin

1 file changed

+2
-0
lines changed

packages/dev/style-macro-chrome-plugin/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ Static macros are generated when style macro conditions don't change at runtime.
149149
#### Flow 1b: Dynamic Macro Updates (Page → DevTools)
150150

151151
Dynamic macros are generated when style macro conditions can change at runtime. Updates are sent via message passing.
152+
This could be simplified and we could rely on the MutationObserver to trigger the refresh, but this way ensures
153+
that the storage is update before we try to access the data.
152154

153155
```
154156
┌─────────────────┐

0 commit comments

Comments
 (0)