Here’s the thing about “unused CSS” tools

There are a lot of tools that aim to help you remove “unused CSS" from your project. Never a week goes by that I don’t see a tool for this being shared or promoted. It must strike some kind of perfect chord for some developers. I care about performance, and I know that reducing file sizes is good for performance. Indeed, it is. I bet we have CSS that is unused in our stylesheets, if we removed that, that’s a …
The post Here’s the thing about “unused CSS” tools appeared first on CSS-Tricks.

Link: https://css-tricks.com/heres-the-thing-about-unused-css-tools/

What Is ViewEncapsulation in Angular?

To understand ViewEncapsulation in Angular, first, we should understand the Shadow DOM. You can learn in detail about the Shadow DOM here. Simply put, the Shadow DOM brings Encapsulation to HTML Elements. Using the Shadow DOM, markup, styles, and behaviors are scoped to the element and do not clash with other nodes of the DOM. The Shadow DOM is part of Web Components, which encapsulates styles and login of the element.
Angular Components are made up of three things:

Link: https://dzone.com/articles/what-is-viewencapsulation-in-angular?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

JSter #119: Libraries and more

JavaScript now.

We announced a new technical event recently. GraphQL Finland will be held in Helsinki 18-19 October. There will be a day of workshops and one day of talks and it’s a good chance for you to learn more about this upcoming technology.
Libraries

Rough.js – Create graphics with a hand-drawn, sketchy, appearanc
terotests/TaskRoll – Asynchronous computation builder

GraphQL

smooth-code/fraql – GraphQL fragments made simple
confuser/graphql-constraint-directive – Validate GraphQL fields
GraphQL Binding 2.0 – Improved API, schema transforms & automatic codegen

Guides

ServiceWorker Cookbook

Techniques

TerrainVer – Worms-style cartoon terrain in JavaScript
Writing WebAssembly By Hand

Tools

Polly.JS – Record, replay, and stub HTTP interactions.
pnpm – Fast, disk space efficient package manager
Hello wasm-pack!
Netflix FlameScope – Performance visualization
VuePress – Static site generator based on Vue
jlfwong/speedscope – A web-based viewer for sampling profiles

Link: http://feedproxy.google.com/~r/jster/~3/4BzhyaTHy6k/jster-119