Commit 9b9c818
perf(core): change
While unlikely, prior to this change it was possible to provide a nested array of styles to the render. This required the framework to handle this by doing a flatten operation. This change also renames the `flattenStyles` method as it no longer flattens the styles.
BREAKING CHANGE: `RendererType2.styles` no longer accepts a nested arrays.
Closes #48317
PR Close #49072RendererType2.styles to accept a only a flat array (#49072)1 parent 2535883 commit 9b9c818
File tree
12 files changed
+31
-33
lines changed- goldens/public-api/core
- packages
- core
- src/render
- test/bundling
- animations
- cyclic_import
- forms_reactive
- forms_template_driven
- router
- standalone_bootstrap
- todo
- platform-browser/src
- dom
- platform-server/src
12 files changed
+31
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | | - | |
| 1237 | + | |
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | 872 | | |
876 | 873 | | |
877 | 874 | | |
| |||
1406 | 1403 | | |
1407 | 1404 | | |
1408 | 1405 | | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | 635 | | |
639 | 636 | | |
640 | 637 | | |
| |||
1073 | 1070 | | |
1074 | 1071 | | |
1075 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | 887 | | |
891 | 888 | | |
892 | 889 | | |
| |||
1559 | 1556 | | |
1560 | 1557 | | |
1561 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | 857 | | |
861 | 858 | | |
862 | 859 | | |
| |||
1535 | 1532 | | |
1536 | 1533 | | |
1537 | 1534 | | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | 1154 | | |
1158 | 1155 | | |
1159 | 1156 | | |
| |||
1868 | 1865 | | |
1869 | 1866 | | |
1870 | 1867 | | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | 563 | | |
567 | 564 | | |
568 | 565 | | |
| |||
929 | 926 | | |
930 | 927 | | |
931 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | 758 | | |
762 | 759 | | |
763 | 760 | | |
| |||
1307 | 1304 | | |
1308 | 1305 | | |
1309 | 1306 | | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | 1312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 56 | + | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
323 | 321 | | |
324 | 322 | | |
325 | 323 | | |
326 | | - | |
| 324 | + | |
327 | 325 | | |
328 | 326 | | |
329 | 327 | | |
| |||
367 | 365 | | |
368 | 366 | | |
369 | 367 | | |
370 | | - | |
| 368 | + | |
371 | 369 | | |
372 | 370 | | |
373 | 371 | | |
| |||
0 commit comments