Friday Issue Nr.132

2025-03-21

back

Typescript heading for a major upgrade, two interesting posts on Nextjs, the case of testing libraries refactor, JavaScript statistics, Swiper, Relative Colours and the "I Quit" button for AI.

JavaScript News

A 10x Faster TypeScript

TypeScript is changing. The current version is 5 (code name: Strada) and will continue into version 6 with a JS-based codebase. However, TS 7 will be native and go by the name Corsa, and porting it to Go.

https://devblogs.microsoft.com/typescript/typescript-native-port/

From Enzyme into React Testing Library

https://open.nytimes.com/how-the-new-york-times-systematically-migrated-from-enzyme-into-react-testing-library-b3ea538d001c

parseInt parses anything starting with a number

Interesting JS quirk with numbers

https://www.stefanjudis.com/today-i-learned/parseint-parses-anything-starting-with-a-number/

Why we ditched Nextjs

I like how those two posts came next to each other, but here you have it. One is about ditching the Nextjs due to slow performance and constantly changing approaches. Other, on new ways of building APIs with NextJS

https://northflank.com/blog/why-we-ditched-next-js-and-never-looked-back

Building APIs with Nextjs

https://nextjs.org/blog/building-apis-with-nextjs

Svelte’s global state

I don't know if this post clarified or made it less clear how to manage global states in Svelte.

https://mainmatter.com/blog/2025/03/11/global-state-in-svelte-5/

JavaScript statistics

Some interesting statistics on JavaScript usage over the years.

https://almanac.httparchive.org/en/2024/javascript

Swiper

Solid library for mobile touch slider with loads of animations and presentations.

https://swiperjs.com/

HTML & CSS News

New HTML attributes command and commandfor

These new attributes will reduce some boilerplate for buttons. One question I have is why they can't use camelCase for those new commands.

https://developer.chrome.com/blog/command-and-commandfor

Avoid large Base64 data in URLs

https://www.debugbear.com/blog/base64-data-urls-html-css

Infinite amount of CSS loaders

Okay, maybe not infinite, but it feels like that. In this collection, there are 600+ loaders to choose from, all maybe with one HTML tag and CSS.

https://css-loaders.com/classic/

CSS-only Star Rating Component

https://css-tricks.com/a-css-only-star-rating-component-and-more-part-2/

CSS Relative Colours

https://ishadeed.com/article/css-relative-colors/

OKLCH()

Until I read the post about relative-colors, I didn't know about possible good usage of oklch() colours. Somehow, it made Aha! moment for me, and I realise that there are loads of practical uses for it, for example, keeping the colour ratio between different colours. Anyway, I wrote a quick post about my findings.

https://www.shvarcs.com/thoughts/colour-conundrum

Simply beautifully crafted website about interfaces

https://wattenberger.com/thoughts/our-interfaces-have-lost-their-senses

Mixed News

Notepad

Sometimes, all you need is to take a quick note. This nifty notepad is exactly for that. It works offline, you can download the text as a TXT or DOC, and the best part - you can install it as a PWA on your screen.

https://notepad.js.org/

“I quit” button for AI

Basically, my childhood sci-fi books are becoming today's reality.

https://www.perplexity.ai/page/anthropic-ceo-floats-ai-quit-b-BotCYKfST6GePBfE_Psp6w

Relaxing driving

Sometimes, you only need a simple game where you can endlessly drive around in different conditions.

https://slowroads.io/

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