Okay #webdev Twitter-verse - I'm hunting for a utility that will let me count how many CSS declarations are applied to a single component. I doing a major refactor and I need some metrics.
2
1
Replying to @playwrightswife
Almost any browser worth its salt not in alpha had dev tools. You can visualize the entirety of inheritance, the cascade and individual elements and what is attached to them. This is where we have failed in education - browsers. We need to understand them to develop for them!

Sep 6, 2019 · 10:31 PM UTC

1
There are also online visualizers and many extension tools that can do this for you. But we must own the code, not the other way around (heh).
1
1
I finally decided my solution was to compare the difference between the rendered CSS and then compare the size of the JS template(s). Sometimes we get so bogged down in "sophistication" of tech we forget the simple.
1
1