ES2022 features; impact of embedded content... And much more
Just as we do every month, we've pulled together a selection of articles from the world of web tech that we here at HOTOVO think are worth sharing…
Discover the new features in ES2022, get some valuable tips for reducing the impact of embedded content, find out if your app can be hacked with CSS, learn how to use box-shadow better, and a whole lot more.
The ECMAScript 2022 specification will be released later in the year, but it’s already pretty clear what features it’s likely to include. Read this article to learn more about the expected features, including top-level await for delaying the execution of modules, new RegExp "d" flag, private class properties, and much more.
The box-shadow property has been supported by browsers for some years already. However, its full potential is still not used by many developers. Check out this guide on how to get the most out of box-shadow, which includes useful tips and guides on how to create layered or neon shadows.
What do you think? Is it possible to hack websites using CSS? Attacks using JS are certainly more common, and more effective, but it seems that attacks using CSS are possible. However, preventing such an attack is at least pretty simple. Find out more in the article.
Typescript has released another minor version packed with tons of improvement – such as better control flow analysis for Destructured Discriminated Unions, performance improvement in checking deeply nested types, and much more. Plus, in addition to its new features, it also brings in support for the new ES2022 features such as "Array.at".