Friday Issue Nr.134

2025-04-18

back

Happy Easter! Anime.js is eye candy, so definitely check it out. Also, here is an update on the Deno vs. Oracle saga, thoughts on JS async from Alex, H1 will change appearance in certain situations, Item Flow, CSS Shape(), and a good read about the Post-Developer Era.

JavaScript News

Astro 5.7

This release introduces Experimental Fonts API, Sessions API, SVG Components, and Config Imports.

https://astro.build/blog/astro-570/

Animate UI

Very sleek and good-looking component distribution built with React, TypeScript, Tailwind CSS, Motion and Shadcn CLI.

https://animate-ui.com/

Anime.js 4.0

This is a beautifully done animation library intro.

https://animejs.com/

Getting started https://animejs.com/documentation/getting-started

Cloudflare update

Cloudflare introduced support for hosting, storing and serving static assets for free on Cloudflare Workers. Cloudflare Workers provides production-ready support for Remix, Astro, Hono, Vue, SvelteKit and also Next.js, Angular and SolidJS

https://blog.cloudflare.com/full-stack-development-on-cloudflare-workers/

Node.js Testing Best Practices

https://github.com/goldbergyoni/nodejs-testing-best-practices#readme

List of lesser-known JS features 2025

https://waspdev.com/articles/2025-04-06/features-that-every-js-developer-must-know-in-2025

Difference between ?? and ||

https://allthingssmitty.com/2025/04/10/mastering-default-values-in-javascript-with-the-nullish-coalescing-operator/

Deno vs Oracle

I hope that in the end, common sense will win this one.

https://deno.com/blog/deno-v-oracle3

Could JavaScript have synchronous await?

https://2ality.com/2025/03/sync-await.html

Wasp - Full-stack JavaScript framework

This one came into the newsletter and piqued my curiosity. There is probably always a place for a new framework.

https://thenewstack.io/javascripts-missing-link-wasp-offers-full-stack-solution/

https://wasp.sh/

HTML & CSS News

The default behaviour for H1 tags are changing

Currently, User Agent (UA) adds styling for h1 appearance and if h1 is inside a nested section, it would change appearance to h2 .

1
/* where x is :is(article, aside, nav, section) */
2
x h1 { margin-block: 0.83em; font-size: 1.50em; }
3
x x h1 { margin-block: 1.00em; font-size: 1.17em; }
4
x x x h1 { margin-block: 1.33em; font-size: 1.00em; }
5
x x x x h1 { margin-block: 1.67em; font-size: 0.83em; }
6
x x x x x h1 { margin-block: 2.33em; font-size: 0.67em; }

From now on this behaviour changes and h1 will look the same inside nested <section>, <aside>, <nav> and <article> .

https://developer.mozilla.org/en-US/blog/h1-element-styles/

Select API updates

Support is shipped in Chrome 135, and it makes sense to review the post and see what is possible without libraries.

https://una.im/select-updates/

Demo

https://codepen.io/una/pen/JjQByOE?editors=1010

Item Flow

Currently, there are discussions on syntax and how styling would look with Masonry vs. Grid with flow item. Ahmad created a nice post with examples, and it looks like flow-item is a much cleaner way to me.

https://ishadeed.com/article/item-flow/

Hide elements when JS is not available

Using <noscript> tag is simple but great solution and feels smarter then .no-js on the body tag which is removed if JS is available.

https://0xda.de/blog/2025/04/hiding-elements-that-require-javascript-without-javascript/

The CSS shape() function

https://www.webkit.org/blog/16794/the-css-shape-function/

The min() and max() functions

An excellent suggestion is to include local variables that explain the purpose of the arguments.

Without the vars:

1
.wrapper {
2
  width: min(100% - 32px, 960px);
3
  margin-inline: auto;
4
}

with vars

1
.wrapper {
2
  --max-width: 960px;
3
  --padding: 16px;
4

5
  width: min(100% - var(--padding) * 2, var(--max-width));
6
}

https://html-css-tip-of-the-week.netlify.app/tip/min-and-max-functions/

Mixed News

The Post-Developer Era

Two years ago Josh wrote a post about AI taking the jobs. This post is a follow up on the previous one. In short: “Knowing how to code is still an incredibly valuable skill and I don’t see that changing anytime soon.”

https://www.joshwcomeau.com/blog/the-post-developer-era/

Here is an article from 2023: https://www.joshwcomeau.com/blog/the-end-of-frontend-development/

LLMs and hallucinated package names fuel “slopsquatting”

"What a world we live in: AI hallucinated packages are validated and rubber-stamped by another AI that is too eager to be helpful."

https://www.theregister.com/AMP/2025/04/12/ai_code_suggestions_sabotage_supply_chain

Kermit Font

Microsoft introduces a child-friendly Kermit font that encourages reading, especially if a child has dyslexia. That might be so, but reading an article is definitely a challenge. The navigation for each page is hidden in each corner of the website. Text is in the bottom left corner, and clicking on the links won't change the URL, not even with a simple #/pageName at the end of the URL. Quite ironic.

https://kermit-font.com/

However, you can find the same post at Microsoft, but with a fancy scroll, which sometimes jumps up and down.

https://microsoft.design/articles/introducing-kermit-a-typeface-for-kids/

Don’t fork the ecosystem

https://newsletter.squishy.computer/p/dont-fork-the-ecosystem

Comment on BlueSky or Mastodon

Andris Švarcs

Somehow, I've survived over 15 years as a web developer without losing my interest in the craft. Quite the opposite, with so many great improvements in the Web standards, what was nearly impossible now is easy to make.

My career has been a wild ride through small agencies and big corporations, building everything from finance apps to health dashboards.

I'm that annoying person who needs to understand products beyond just slinging code. I ask questions like 'Why is this feature important?' and 'How will this improve the customer journey?' – you know, the kind of questions that make project managers reach for the pint aspirin. This curiosity has led me down the rabbit holes of design, accessibility, and SEO. Because apparently, making websites pretty, usable, and findable wasn't challenging enough on its own.

P.S. If this bio sounds too polished, blame my evil AI twin. I'm still working on teaching it sarcasm.

Copyright © since 2021, Andris Švarcs. All rights reserved.

Lets connect

bluesky

youtube

linkedin