Open varya opened 9 years ago
Probably the biggest bottle neck is shadow DOM since browser needs to parse the CSS and apply styles individually to every component. I would suggest to try disableEncapsulation: true;
and test if it helps.
Tested.
Impossible to say, because when using disableEncapsulation: true
, CSS is not reloaded at all (I used the designer tools to change one of the colors).
With ShadowDOM version, most likely the changes are applied slowly because it happens not right away. When changing the color I see that first the application rebuilds and reloads the JSON (progress bar is visible). Then the components are re-rendered (it is visible because slow) but with old colors. Then they are re-rendered again with new colors.
So, there are 2 problems:
?<random>
parameter to itAny news on this one?
The generated website has rendering problems if the project is big enough. This maybe a reason to reorganize the architecture for the sc-styleguide@4.0.0.
Let's discuss. Should we even keep Angular?