Commit 0008afb
committed
Refactor <style> Resource implementation to group on flush
There is a problem with <style> as resource. For css-in-js libs there may be an very large number of these hoistables
being created. The number of style tags can grow quickly and to help reduce the prevalence of this FIzz now aggregates all style tags for a given precedence into a single tag. The client can 'hydrate' against these componund tags but currently on the client insertions are done individually.1 parent b2ae9dd commit 0008afb
File tree
11 files changed
+669
-373
lines changed- packages
- react-dom-bindings/src
- client
- server
- fizz-instruction-set
- react-dom/src/__tests__
- react-native-renderer/src/server
- react-server/src
- forks
11 files changed
+669
-373
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
0 commit comments