It's another week with good posts about the React Compiler use case, Microsoft Edge, Astro 4.10, HTMX, and a good read about Container Queries and nested links from the CSS world. Also, Nvidia surpasses Apple, and there are loads of new updates for Safari.
As the post says - it is an epic guide about function composition!
It's a post with an awesome clickbait title, but it is a good read. In short, the React compiler will work the magic for simple examples out of the box. Very few code updates are needed. However, a real-life project is not as simple.
https://www.developerway.com/posts/i-tried-react-compiler
My first surprise was that Edge did use React (or I misunderstood the article?). But all in all, great news: Edge is getting faster!
https://blogs.windows.com/msedgedev/2024/05/28/an-even-faster-microsoft-edge/
“Astro 4.10 introduces a new experimental built-in module, astro:env, to allow easier use of environment variables.”
https://astro.build/blog/astro-4100/
Somehow, HTMX reminds me of the early days of PHP, but in a good way. After reading this article, I agree that HTMX has its place and is an excellent enhancement for a website if there is no need for dashboard-type updates or loads of graphics.
https://www.erikheemskerk.nl/htmx-simplicity/
https://developer.chrome.com/blog/devtools-customization
https://thenewstack.io/rust-growing-fastest-but-javascript-reigns-supreme/
It is an excellent tool for fine-tuning your colours and checking how people with different colour blindness levels would see your choice.
https://css-tricks.com/css-container-queries/
This is an interesting hack for cases where you need a link tag inside another link tag.
The use case would be a clickable card, but inside a card is a link that is also clickable.
https://www.amitmerchant.com/nested-anchor-links-using-css/
That is a long list of updates for HTML, CSS, Media, WebRTC, Web API, JS, etc.
https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-safari-18-beta/
https://www.smashingmagazine.com/2024/06/how-hack-google-lighthouse-scores-2024/
https://eylenburg.github.io/browser_engines.htm
Massive image with all browsers.
https://eylenburg.github.io/pics/Browser Engine List.png
Comment on Mastodon