Happy Friday, and happy reading! Unbelievable as it sounds, the summer is over. Congrats on the 1st of September! This week discusses Array Types, Better-select components, Object Composer, CSS Shadows and more.
"default-composer" is a JavaScript library that allows you to set default values for nested objects.
https://github.com/aralroca/default-composer
https://github.com/siit-dev/better-select
Demo:
https://siit-dev.github.io/better-select/bootstrap/
https://lea.verou.me/blog/2023/04/private-fields-considered-harmful/
Array<string>
or string[] ?
https://tkdodo.eu/blog/array-types-in-type-script
An editor to pixelate your favourite cat image. Actually, the result is pretty good!
https://tezumie.github.io/Image-to-Pixel/
This post describes an interesting technique which lets you drop the shadow of the shadow (for example).
https://www.smashingmagazine.com/2023/08/interesting-ways-use-css-shadows/
I am still not convinced. Like with everything in the CSS world - it Depends on the use case.
https://matt-rickard.com/why-tailwind-css-won
Some >3000 terms in one page. I'm not sure how useful it is, but browsing is fun.