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.
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/
Interesting JS quirk with numbers
https://www.stefanjudis.com/today-i-learned/parseint-parses-anything-starting-with-a-number/
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
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/
Some interesting statistics on JavaScript usage over the years.
https://almanac.httparchive.org/en/2024/javascript
Solid library for mobile touch slider with loads of animations and presentations.
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
https://www.debugbear.com/blog/base64-data-urls-html-css
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/
https://css-tricks.com/a-css-only-star-rating-component-and-more-part-2/
https://ishadeed.com/article/css-relative-colors/
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
https://wattenberger.com/thoughts/our-interfaces-have-lost-their-senses
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.
Basically, my childhood sci-fi books are becoming today's reality.
https://www.perplexity.ai/page/anthropic-ceo-floats-ai-quit-b-BotCYKfST6GePBfE_Psp6w
Sometimes, you only need a simple game where you can endlessly drive around in different conditions.